Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1061)

Unified Diff: third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h

Issue 1962563002: Fix ImageDecoder::frameIsCompleteAtIndex - fully received instead of decoded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PNG alpha & partial decode fixes. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h
index c9916718cd7b0f0f1f30fb34e0f13b43845e47ee..b7187377ea1834df178a647636d32e6ac3489d3a 100644
--- a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h
@@ -45,7 +45,7 @@ public:
String filenameExtension() const override { return "webp"; }
void onSetData(SharedBuffer* data) override;
int repetitionCount() const override;
- bool frameIsCompleteAtIndex(size_t) const override;
+ bool frameIsFullyReceivedAtIndex(size_t) const override;
float frameDurationAtIndex(size_t) const override;
size_t clearCacheExceptFrame(size_t) override;

Powered by Google App Engine
This is Rietveld 408576698