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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageSource.cpp

Issue 1962563002: Fix ImageDecoder::frameIsCompleteAtIndex - fully received instead of decoded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/ImageSource.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
index 8cd7c12e547787fce408157bb007957f9ffe9ded..d91869e12dfabfc05623028906911f13774e53a9 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
@@ -137,9 +137,9 @@ bool ImageSource::frameHasAlphaAtIndex(size_t index) const
return !m_decoder || m_decoder->frameHasAlphaAtIndex(index);
}
-bool ImageSource::frameIsCompleteAtIndex(size_t index) const
+bool ImageSource::frameIsFullyReceivedAtIndex(size_t index) const
{
- return m_decoder && m_decoder->frameIsCompleteAtIndex(index);
+ return m_decoder && m_decoder->frameIsFullyReceivedAtIndex(index);
}
size_t ImageSource::frameBytesAtIndex(size_t index) const

Powered by Google App Engine
This is Rietveld 408576698