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

Unified Diff: third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.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/test/MockImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h b/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h
index d005fa9d2ddf60742bb7252becc5dccec4c41cb6..fb579d72c4c07f7fc39c572a6e2fa3dda1811165 100644
--- a/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h
+++ b/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h
@@ -77,7 +77,7 @@ public:
return m_client->repetitionCount();
}
- bool frameIsCompleteAtIndex(size_t) const override
+ bool frameIsFullyReceivedAtIndex(size_t) const override
scroggo_chromium 2016/05/09 21:54:33 This looks to be doing the wrong thing.
aleksandar.stojiljkovic 2016/05/10 21:59:30 Done.
{
return m_client->status() == ImageFrame::FrameComplete;
}

Powered by Google App Engine
This is Rietveld 408576698