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

Unified Diff: third_party/WebKit/Source/platform/graphics/StaticBitmapImage.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/graphics/StaticBitmapImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
index bd36802ec110e53a8839116912b8bc28f06a2fe2..602a748a206367c1f9eb6d81f6b0fec485df6697 100644
--- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
+++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
@@ -13,7 +13,7 @@ class PLATFORM_EXPORT StaticBitmapImage final : public Image {
public:
~StaticBitmapImage() override;
- bool currentFrameIsComplete() override { return true; }
+ bool currentFrameIsFullyReceived() override { return true; }
static PassRefPtr<StaticBitmapImage> create(PassRefPtr<SkImage>);
virtual void destroyDecodedData(bool destroyAll) { }

Powered by Google App Engine
This is Rietveld 408576698