RESOLVED FIXED 26035
Make ImageSource::frameHasAlphaAtIndex() return false for JPEGs with CG
https://bugs.webkit.org/show_bug.cgi?id=26035
Summary Make ImageSource::frameHasAlphaAtIndex() return false for JPEGs with CG
Cameron Zwarich (cpst)
Reported 2009-05-26 17:57:10 PDT
There is a FIXME in the code to return false for JPEG and other image formats that don't support transparency. JPEG is the most common of these, so we should simply do this optimization.
Attachments
Proposed patch (1.80 KB, patch)
2009-05-26 19:20 PDT, Cameron Zwarich (cpst)
mjs: review+
Cameron Zwarich (cpst)
Comment 1 2009-05-26 17:57:35 PDT
Cameron Zwarich (cpst)
Comment 2 2009-05-26 19:20:04 PDT
Created attachment 30691 [details] Proposed patch
Maciej Stachowiak
Comment 3 2009-05-26 21:37:30 PDT
Comment on attachment 30691 [details] Proposed patch r=me
Cameron Zwarich (cpst)
Comment 4 2009-05-26 22:20:41 PDT
Landed in r44176.
Note You need to log in before you can comment on or make changes to this bug.