Index: third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp |
index 440520dbcc13dfe605c4b197d85acce44abb0548..ec9b5cc562a6a9f90416c971f986605607fa8208 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp |
@@ -162,7 +162,7 @@ PassRefPtrWillBeRawPtr<FilterEffect> SVGFEImageElement::build(SVGFilterBuilder*, |
if (m_cachedImage) { |
// Don't use the broken image icon on image loading errors. |
RefPtr<Image> image = m_cachedImage->errorOccurred() ? |
- nullptr : m_cachedImage->imageForLayoutObject(layoutObject()); |
+ nullptr : m_cachedImage->image(); |
return FEImage::createWithImage(filter, image, m_preserveAspectRatio->currentValue()); |
} |