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 ef6a026f77b402aab4fa4d816f4e805d3ca4472d..5cd0725ae2109e4db19d47fd31246d4ac4bbc611 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -244,8 +244,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) |
@@ -3197,7 +3196,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) |
@@ -3212,7 +3211,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; |