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

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

Issue 1962563002: Fix ImageDecoder::frameIsCompleteAtIndex - fully received instead of decoded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: BMPDecoder + remove partial 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/DeferredImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
index f27bb669f3042c3f6570723ccde369b775ba339d..19c59b5e837b5b74b0c155ce8e07a6472eaed206 100644
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
@@ -70,7 +70,7 @@ public:
int repetitionCount() const;
size_t clearCacheExceptFrame(size_t index);
bool frameHasAlphaAtIndex(size_t index) const;
- bool frameIsCompleteAtIndex(size_t index) const;
+ bool frameIsFullyReceivedAtIndex(size_t index) const;
float frameDurationAtIndex(size_t index) const;
size_t frameBytesAtIndex(size_t index) const;
ImageOrientation orientationAtIndex(size_t index) const;

Powered by Google App Engine
This is Rietveld 408576698