Index: third_party/WebKit/Source/core/layout/LayoutImage.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutImage.cpp b/third_party/WebKit/Source/core/layout/LayoutImage.cpp |
index a68042e6f49a67a2fcd78441632eddcc8de28bf5..ddef1618392aff44282c63ec8007eede829a942c 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutImage.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutImage.cpp |
@@ -309,17 +309,17 @@ bool LayoutImage::needsPreferredWidthsRecalculation() const |
{ |
if (LayoutReplaced::needsPreferredWidthsRecalculation()) |
return true; |
- return embeddedContentBox(); |
+ return embeddedReplacedContent(); |
} |
-LayoutBox* LayoutImage::embeddedContentBox() const |
+LayoutReplaced* LayoutImage::embeddedReplacedContent() const |
{ |
if (!m_imageResource) |
return nullptr; |
ImageResource* cachedImage = m_imageResource->cachedImage(); |
if (cachedImage && cachedImage->getImage() && cachedImage->getImage()->isSVGImage()) |
- return toSVGImage(cachedImage->getImage())->embeddedContentBox(); |
+ return toSVGImage(cachedImage->getImage())->embeddedReplacedContent(); |
return nullptr; |
} |