[Webkit-unassigned] [Bug 173403] ImageDecoder: Gifs with infinite animation only play once very often

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 11 06:39:30 PDT 2017


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

--- Comment #6 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Said Abou-Hallawa from comment #5)
> (In reply to Michael Catanzaro from comment #4)
> > Said, is there another way you would prefer to do this?
> 
> I think this issue can be fixed by clearing m_repetitionCount in
> ImageFrameCache::clearMetadata(). This method is called from
> ImageSource::dataChanged() every time new data is incrementally added to the
> image source. ImageFrameCache::clearMetadata() clears all the cached
> metadata that may change their values with new data added to the image
> source.

Ah!, good point, I didn't know that, it's indeed a much simpler solution. I'll submit a new patch. Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170711/07cbd707/attachment-0001.html>


More information about the webkit-unassigned mailing list