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

Unified Diff: Source/core/platform/graphics/chromium/ImageDecodingStoreTest.cpp

Issue 17999003: Deferred image decoding to support animated GIFs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: done Created 7 years, 5 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/ImageDecodingStoreTest.cpp
diff --git a/Source/core/platform/graphics/chromium/ImageDecodingStoreTest.cpp b/Source/core/platform/graphics/chromium/ImageDecodingStoreTest.cpp
index 997f3fa34df3284d2d4a7570814d587d984a1304..47d3e63a17bea5d95875c83aeb85f58358190e2d 100644
--- a/Source/core/platform/graphics/chromium/ImageDecodingStoreTest.cpp
+++ b/Source/core/platform/graphics/chromium/ImageDecodingStoreTest.cpp
@@ -68,6 +68,10 @@ public:
return ImageFrame::FramePartial;
}
+ virtual size_t frameCount() { return 1; }
+ virtual int repetitionCount() const { return cAnimationNone; }
+ virtual float frameDuration() const { return 0; }
+
protected:
PassOwnPtr<ScaledImageFragment> createCompleteImage(const SkISize& size, bool discardable = false, size_t index = 0)
{

Powered by Google App Engine
This is Rietveld 408576698