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

Unified Diff: Source/core/fetch/ImageResource.h

Issue 892783003: Check the condition for animation policy of bitmapImage on notifyFinished. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move updating policy to ImageLoader Created 5 years, 11 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
« no previous file with comments | « no previous file | Source/core/fetch/ImageResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ImageResource.h
diff --git a/Source/core/fetch/ImageResource.h b/Source/core/fetch/ImageResource.h
index e0a3445f0246cd6ca3446a801b2fc38d19fa0bed..c31b0731bcea3bf056498357e90ba169cb47ef10 100644
--- a/Source/core/fetch/ImageResource.h
+++ b/Source/core/fetch/ImageResource.h
@@ -88,6 +88,8 @@ public:
bool isAccessAllowed(ExecutionContext*, SecurityOrigin*);
+ void updateImageAnimationPolicy();
+
virtual void didAddClient(ResourceClient*) override;
virtual void didRemoveClient(ResourceClient*) override;
@@ -110,7 +112,6 @@ public:
virtual bool shouldPauseAnimation(const blink::Image*) override;
virtual void animationAdvanced(const blink::Image*) override;
- virtual void imageAnimationPolicy(const blink::Image*, ImageAnimationPolicy&) override;
virtual void changedInRect(const blink::Image*, const IntRect&) override;
protected:
« no previous file with comments | « no previous file | Source/core/fetch/ImageResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698