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

Unified Diff: Source/platform/graphics/BitmapImage.h

Issue 1120963003: Implements getImageAnimationPolicy() at ImageLoader. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adds Internals::advanceTimeWithImage Created 5 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: Source/platform/graphics/BitmapImage.h
diff --git a/Source/platform/graphics/BitmapImage.h b/Source/platform/graphics/BitmapImage.h
index d868f075e3e918745e99687c3d8dcf1728141d22..1504da66678435825a06db396de8471174913315 100644
--- a/Source/platform/graphics/BitmapImage.h
+++ b/Source/platform/graphics/BitmapImage.h
@@ -83,6 +83,7 @@ public:
virtual void setAnimationPolicy(ImageAnimationPolicy policy) override { m_animationPolicy = policy; }
virtual ImageAnimationPolicy animationPolicy() override { return m_animationPolicy; }
+ virtual void advanceTime(double time) override;
virtual bool bitmapForCurrentFrame(SkBitmap*) override;
virtual PassRefPtr<Image> imageForDefaultFrame() override;

Powered by Google App Engine
This is Rietveld 408576698