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

Unified Diff: Source/core/platform/graphics/chromium/test/MockImageDecoder.h

Issue 23068027: Animated WebP: Optimize decoding in case of seeking (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@add_noblend_image
Patch Set: Fix assert fail on debug Created 7 years, 4 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: Source/core/platform/graphics/chromium/test/MockImageDecoder.h
diff --git a/Source/core/platform/graphics/chromium/test/MockImageDecoder.h b/Source/core/platform/graphics/chromium/test/MockImageDecoder.h
index 50b05c84457dd32cc1a57d5cb3fe371eb5258ad3..c6d0b33b2bae2a1a991a3e202c47edf657e27672 100644
--- a/Source/core/platform/graphics/chromium/test/MockImageDecoder.h
+++ b/Source/core/platform/graphics/chromium/test/MockImageDecoder.h
@@ -34,7 +34,7 @@ class MockImageDecoderClient {
public:
virtual void decoderBeingDestroyed() = 0;
virtual void frameBufferRequested() = 0;
- virtual ImageFrame::FrameStatus frameStatus() = 0;
+ virtual ImageFrame::Status status() = 0;
virtual size_t frameCount() = 0;
virtual int repetitionCount() const = 0;
virtual float frameDuration() const = 0;
@@ -83,13 +83,13 @@ public:
{
m_client->frameBufferRequested();
- m_frameBufferCache[0].setStatus(m_client->frameStatus());
+ m_frameBufferCache[0].setStatus(m_client->status());
return &m_frameBufferCache[0];
}
virtual bool frameIsCompleteAtIndex(size_t) const
{
- return m_client->frameStatus() == ImageFrame::FrameComplete;
+ return m_client->status() == ImageFrame::FrameComplete;
}
virtual float frameDurationAtIndex(size_t) const
« no previous file with comments | « Source/core/platform/graphics/chromium/ImageFrameGeneratorTest.cpp ('k') | Source/core/platform/image-decoders/ImageDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698