| Index: Source/core/layout/LayoutObject.cpp
|
| diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
|
| index 663740b5624c4253e44e4d4f68b20f700f1ad9c0..839e8367f84f8bc5fc568d6f90ee0c7907897c1d 100644
|
| --- a/Source/core/layout/LayoutObject.cpp
|
| +++ b/Source/core/layout/LayoutObject.cpp
|
| @@ -2912,6 +2912,14 @@ bool LayoutObject::willRenderImage(ImageResource*)
|
| return document().view()->isVisible();
|
| }
|
|
|
| +bool LayoutObject::getImageAnimationPolicy(ImageResource*, ImageAnimationPolicy& policy)
|
| +{
|
| + if (!document().settings())
|
| + return false;
|
| + policy = document().settings()->imageAnimationPolicy();
|
| + return true;
|
| +}
|
| +
|
| int LayoutObject::caretMinOffset() const
|
| {
|
| return 0;
|
|
|