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 24a0d0b1e03ec4aa37671718501d2108b2290ae4..b2a0980044960c912a1c877aaa48810fa5f82447 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -245,8 +245,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) |
@@ -3208,7 +3207,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) |
@@ -3223,7 +3222,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; |