Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[GTK][WPE] Fix review comments on WEBPImageDecoder
https://bugs.webkit.org/show_bug.cgi?id=178080 Reviewed by Said Abou-Hallawa. Source/WebCore: Properly free the demuxer in case of error, improve the code to detect the first required frame to decode, fix the usage of the DecodingStatus and some styling changes. Covered by existent tests. * platform/image-decoders/webp/WEBPImageDecoder.cpp: (WebCore::webpFrameAtIndex): (WebCore::WEBPImageDecoder::findFirstRequiredFrameToDecode): (WebCore::WEBPImageDecoder::decode): (WebCore::WEBPImageDecoder::decodeFrame): (WebCore::WEBPImageDecoder::initFrameBuffer): (WebCore::WEBPImageDecoder::clearFrameBufferCache): LayoutTests: Adjusted test duration. * fast/images/animated-webp.html: Canonical link: https://commits.webkit.org/194766@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
4 changed files
with
74 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -12,7 +12,7 @@ | ||
window.setTimeout(function() { | ||
if (window.testRunner) | ||
testRunner.notifyDone(); | ||
}, 500); | ||
}, 300); | ||
} | ||
</script> | ||
<style> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters