Summary: | [GTK] Animations not played properly when using synchronous decoding | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Miguel Gomez <magomez> | ||||
Component: | WebKitGTK | Assignee: | Miguel Gomez <magomez> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bugs-noreply, cgarcia, commit-queue, mcatanzaro, sabouhallawa, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=170333 | ||||||
Attachments: |
|
Description
Miguel Gomez
2017-04-07 02:17:36 PDT
There seems to be an error in ImageFrameCache::destroyDecodedData(). Theoretically this should destroy all the decoded frames except one we want to keep, but what it's actually doing is destroying all the odd ones (including the one we want to keep if it's odd). Created attachment 306481 [details]
Patch
Comment on attachment 306481 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=306481&action=review > Source/WebCore/platform/graphics/ImageFrameCache.cpp:101 > - decodedSize += m_frames[index++].clearImage(); > + decodedSize += m_frames[index].clearImage(); oh! good catch! Comment on attachment 306481 [details] Patch Clearing flags on attachment: 306481 Committed r215091: <http://trac.webkit.org/changeset/215091> All reviewed patches have been landed. Closing bug. |