[Webkit-unassigned] [Bug 105097] SVG images are sized incorrectly on first load
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 17 12:23:19 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=105097
Eric Seidel <eric at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #179602|commit-queue? |commit-queue-
Flag| |
--- Comment #3 from Eric Seidel <eric at webkit.org> 2012-12-17 12:25:35 PST ---
(From update of attachment 179602)
View in context: https://bugs.webkit.org/attachment.cgi?id=179602&action=review
> Source/WebCore/loader/cache/CachedImage.cpp:335
> + for (ContainerSizeRequests::iterator it = m_pendingContainerSizeRequests.begin(); it != m_pendingContainerSizeRequests.end(); ++it)
> + setContainerSizeForRenderer(it->key, it->value.first, it->value.second);
We should clear pending requests after we send them.
> Source/WebCore/loader/cache/CachedImage.h:64
> - void setContainerSizeForRenderer(const RenderObject*, const IntSize&, float);
> + void setContainerSizeForRenderer(const CachedImageClient*, const IntSize&, float);
We should just remove "renderer" from this. It's somewhat of a layering violation IMO for the loader to know anything about the rendering tree. This can be in a follow-up patch if you'd rather.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list