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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp

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/gif/GIFImageDecoder.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp
index 824764c5534764548b2c1eaa4225592de2b26d5f..340e6cae4337514ee30345fa4d401e98cabc9a2a 100644
--- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp
@@ -83,7 +83,7 @@ int GIFImageDecoder::repetitionCount() const
return m_repetitionCount;
}
-bool GIFImageDecoder::frameIsCompleteAtIndex(size_t index) const
+bool GIFImageDecoder::frameIsFullyReceivedAtIndex(size_t index) const
{
return m_reader && (index < m_reader->imagesCount()) && m_reader->frameContext(index)->isComplete();
}

Powered by Google App Engine
This is Rietveld 408576698