[Webkit-unassigned] [Bug 53281] clean up CG allocations made while determining image size
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 28 14:40:00 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=53281
--- Comment #6 from Ian Henderson <ianh at apple.com> 2011-01-28 14:40:00 PST ---
(In reply to comment #3)
> This doesn't cause the image to be (at least partially) decoded twice in the case where it's painted?
You're right -- at the time the size becomes available, the image never has any decoded frames, even if it needs to be decoded later to draw the page. The code I added to catch this case doesn't actually work.
Would it be better to include the extra allocations in CachedImage's decodedSize? Then the cache would clean up the data during a purge.
--
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