Bug 43501 - Down-sampling doesn't work for some GIF files
Summary: Down-sampling doesn't work for some GIF files
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Other
: P2 Normal
Assignee: Yong Li
Depends on:
Reported: 2010-08-04 12:14 PDT by Yong Li
Modified: 2010-08-05 13:02 PDT (History)
2 users (show)

See Also:

the patch (2.75 KB, patch)
2010-08-04 12:24 PDT, Yong Li
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yong Li 2010-08-04 12:14:46 PDT
GIF reader can call "setSize()" multiple times. The current implementation doesn't clear the old down-sampling maps before adding new entries. Subsequent binary searches can give unexpected results.
Comment 1 Yong Li 2010-08-04 12:24:52 PDT
Created attachment 63479 [details]
the patch
Comment 2 WebKit Commit Bot 2010-08-05 13:02:15 PDT
Comment on attachment 63479 [details]
the patch

Clearing flags on attachment: 63479

Committed r64777: <http://trac.webkit.org/changeset/64777>
Comment 3 WebKit Commit Bot 2010-08-05 13:02:21 PDT
All reviewed patches have been landed.  Closing bug.