| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index a347ca9a745c19cda6783d2fb7f14859ece08011..7a252825530381c2eaec7f19d5edaf3c56f2a6ca 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -242,8 +242,7 @@ static WTF::RefCountedLeakCounter& layoutObjectCounter()
|
| #endif
|
|
|
| LayoutObject::LayoutObject(Node* node)
|
| - : ImageResourceClient()
|
| - , m_style(nullptr)
|
| + : m_style(nullptr)
|
| , m_node(node)
|
| , m_parent(nullptr)
|
| , m_previous(nullptr)
|
| @@ -3181,7 +3180,7 @@ void LayoutObject::addAnnotatedRegions(Vector<AnnotatedRegionValue>& regions)
|
| regions.append(region);
|
| }
|
|
|
| -bool LayoutObject::willRenderImage(ImageResource*)
|
| +bool LayoutObject::willRenderImage()
|
| {
|
| // Without visibility we won't render (and therefore don't care about animation).
|
| if (style()->visibility() != VISIBLE)
|
| @@ -3196,7 +3195,7 @@ bool LayoutObject::willRenderImage(ImageResource*)
|
| return document().view()->isVisible();
|
| }
|
|
|
| -bool LayoutObject::getImageAnimationPolicy(ImageResource*, ImageAnimationPolicy& policy)
|
| +bool LayoutObject::getImageAnimationPolicy(ImageAnimationPolicy& policy)
|
| {
|
| if (!document().settings())
|
| return false;
|
|
|