Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index 58ea47d3caeab287c684db9946a971dbe6368b04..ae86fce2cf78e050e4aa3056a6d3e9a38b7caf76 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -2782,6 +2782,15 @@ bool RenderObject::willRenderImage(ImageResource*) |
return document().view()->isVisible(); |
} |
+bool RenderObject::getImageAnimationPolicy(ImageResource*, ImageAnimationPolicy& policy) |
+{ |
+ if (!document().settings()) |
+ return false; |
+ |
+ policy = document().settings()->imageAnimationPolicy(); |
+ return true; |
+} |
+ |
int RenderObject::caretMinOffset() const |
{ |
return 0; |