RESOLVED FIXED 53448
Some favicons not correctly decoded by Chromium/Mac
https://bugs.webkit.org/show_bug.cgi?id=53448
Summary Some favicons not correctly decoded by Chromium/Mac
Matthew Vosburgh
Reported 2011-01-31 13:01:11 PST
What steps will reproduce the problem? 1. Bookmark "www.frys.com" in a Chromium-based browser. Actual: No favicon show up. It is blank. Expected: Show Favicon. See chromium bug http://code.google.com/p/chromium/issues/detail?id=34797 The code responsible is Mac/Chromium specific code in the WebKit tree, specifically in WebKit/chromium/src/WebImageCG.cpp. The fix is to change the implementation of WebImage::fromData() to be more discriminating, using equivalent code to the WebImageSkia implementation.
Attachments
Use the same frame selection logic as the WebImageSkia code, rather than just picking frame[0]. (2.00 KB, patch)
2011-01-31 13:31 PST, Matthew Vosburgh
no flags
Patch (2.56 KB, patch)
2011-02-02 12:23 PST, Kenneth Russell
kbr: review+
Matthew Vosburgh
Comment 1 2011-01-31 13:31:32 PST
Created attachment 80674 [details] Use the same frame selection logic as the WebImageSkia code, rather than just picking frame[0].
Kenneth Russell
Comment 2 2011-02-02 12:23:53 PST
Kenneth Russell
Comment 3 2011-02-02 12:24:43 PST
Re-indented patch for maf and provided ChangeLog entry. Verified fix manually in Chromium.
Kenneth Russell
Comment 4 2011-02-02 12:25:14 PST
Comment on attachment 80949 [details] Patch Looks fine. Verified fix in Chromium.
Kenneth Russell
Comment 5 2011-02-02 12:26:15 PST
Note You need to log in before you can comment on or make changes to this bug.