Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp

Issue 1728313003: Split ImageResourceClient into ResourceClient and ImageResourceObserver [2/2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and reflect comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
index b5a33f2b1f62482662a631a6c1c159e6126ac3cc..2c273a684cb67efd8d57ad5f0b803b5cef45838b 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
@@ -47,7 +47,7 @@ LayoutSVGImage::LayoutSVGImage(SVGImageElement* impl)
, m_needsTransformUpdate(true)
, m_imageResource(LayoutImageResource::create())
{
- m_imageResource->initialize(this, nullptr);
+ m_imageResource->initialize(this);
}
LayoutSVGImage::~LayoutSVGImage()
@@ -138,7 +138,7 @@ bool LayoutSVGImage::nodeAtFloatPoint(HitTestResult& result, const FloatPoint& p
return false;
}
-void LayoutSVGImage::imageChanged(WrappedImagePtr, const IntRect*)
+void LayoutSVGImage::imageChanged(bool, WrappedImagePtr, const IntRect*)
{
// Notify parent resources that we've changed. This also invalidates
// references from resources (filters) that may have a cached

Powered by Google App Engine