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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp

Issue 2879123003: blink: Fix frame completion querying for static images. (Closed)
Patch Set: test Created 3 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/jpeg/JPEGImageDecoder.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
index 12e24974e53f5e6a20da6b5f11614fdf1397ab50..7e2aea53f3404b413f3a986dbc46d62d5995a37d 100644
--- a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
@@ -992,7 +992,7 @@ inline bool IsComplete(const JPEGImageDecoder* decoder, bool only_size) {
if (decoder->HasImagePlanes() && !only_size)
return true;
- return decoder->FrameIsCompleteAtIndex(0);
+ return decoder->FrameIsDecodedAtIndex(0);
scroggo_chromium 2017/05/30 15:51:34 This is the only caller of the new API, and this m
scroggo_chromium 2017/07/17 19:25:35 Uploaded crrev.com/2984463002
}
void JPEGImageDecoder::Decode(bool only_size) {

Powered by Google App Engine
This is Rietveld 408576698