Index: Source/core/svg/graphics/SVGImage.cpp |
diff --git a/Source/core/svg/graphics/SVGImage.cpp b/Source/core/svg/graphics/SVGImage.cpp |
index 2aae7d2f51fed8f4fd378bacfd49e49822290095..ba6c76ce99a1eb41946548a321595110b8d38b03 100644 |
--- a/Source/core/svg/graphics/SVGImage.cpp |
+++ b/Source/core/svg/graphics/SVGImage.cpp |
@@ -326,12 +326,12 @@ void SVGImage::draw(GraphicsContext* context, const FloatRect& dstRect, const Fl |
startAnimation(); |
} |
-RenderBox* SVGImage::embeddedContentBox() const |
+LayoutBox* SVGImage::embeddedContentBox() const |
{ |
SVGSVGElement* rootElement = svgRootElement(m_page.get()); |
if (!rootElement) |
return 0; |
- return toRenderBox(rootElement->renderer()); |
+ return toLayoutBox(rootElement->renderer()); |
} |
FrameView* SVGImage::frameView() const |