[Webkit-unassigned] [Bug 53281] To determine image properties, CG allocates memory which isn't included in CachedImage's decoded size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 15 13:25:36 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53281





--- Comment #13 from Darin Adler <darin at apple.com>  2011-02-15 13:25:36 PST ---
(In reply to comment #11)
> Is there a standard way in WebCore to get a signed difference of unsigned values?  Should I add an ASSERT that checks for overflow?

Generally with unsigned values check which number is greater before doing any subtraction. Not sure if that’s helpful in this case. Since you already posted a new patch I’m assuming you did something. I’ll see when I get a chance to review.

-- 
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