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

Unified Diff: Source/platform/graphics/BitmapImageTest.cpp

Issue 754813002: Expose setting API to set ImageAnimationPolicy(Allowed, Once, None) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Support three options for animations Created 6 years, 1 month 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/platform/graphics/BitmapImageTest.cpp
diff --git a/Source/platform/graphics/BitmapImageTest.cpp b/Source/platform/graphics/BitmapImageTest.cpp
index 4cf2369232db00ecea69623befdcc1d0ed1208f1..eaee478bab1bdcb2417803735bfdea815b07a2ed 100644
--- a/Source/platform/graphics/BitmapImageTest.cpp
+++ b/Source/platform/graphics/BitmapImageTest.cpp
@@ -52,7 +52,7 @@ public:
m_lastDecodedSizeChangedDelta = delta;
}
virtual void didDraw(const Image*) override { }
- virtual bool shouldPauseAnimation(const Image*) override { return false; }
+ virtual bool shouldPauseAnimation(const Image*, bool repeated = false) override { return false; }
virtual void animationAdvanced(const Image*) override { }
virtual void changedInRect(const Image*, const IntRect&) { }

Powered by Google App Engine
This is Rietveld 408576698