Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
index fb40160723e975ef54dfe3cae48bfde4a37f87cb..cfff39bdf3c995aacf7a0f325facf0fe58144ecb 100644 |
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
@@ -385,12 +385,12 @@ void SVGImage::drawInternal(SkCanvas* canvas, const SkPaint& paint, const FloatR |
startAnimation(); |
} |
-LayoutBox* SVGImage::embeddedContentBox() const |
+LayoutReplaced* SVGImage::embeddedReplacedContent() const |
{ |
SVGSVGElement* rootElement = svgRootElement(m_page.get()); |
if (!rootElement) |
return nullptr; |
- return toLayoutBox(rootElement->layoutObject()); |
+ return toLayoutSVGRoot(rootElement->layoutObject()); |
} |
FrameView* SVGImage::frameView() const |