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

Unified Diff: third_party/WebKit/Source/platform/graphics/BitmapImage.h

Issue 1962563002: Fix ImageDecoder::frameIsCompleteAtIndex - fully received instead of decoded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extending the scope with naming suggested by @scroggo 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/BitmapImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.h b/third_party/WebKit/Source/platform/graphics/BitmapImage.h
index 5275168eded9118afa9fd4963aab2e7e5878f221..52762f0307c9ab6e641186048787a7bd93be4e0b 100644
--- a/third_party/WebKit/Source/platform/graphics/BitmapImage.h
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.h
@@ -85,7 +85,7 @@ public:
PassRefPtr<Image> imageForDefaultFrame() override;
bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) override;
- bool currentFrameIsComplete() override;
+ bool currentFrameIsFullyReceived() override;
bool currentFrameIsLazyDecoded() override;
ImageOrientation currentFrameOrientation();
@@ -117,7 +117,7 @@ private:
PassRefPtr<SkImage> frameAtIndex(size_t);
- bool frameIsCompleteAtIndex(size_t);
+ bool frameIsFullyReceivedAtIndex(size_t);
float frameDurationAtIndex(size_t);
bool frameHasAlphaAtIndex(size_t);
ImageOrientation frameOrientationAtIndex(size_t);

Powered by Google App Engine
This is Rietveld 408576698