| Index: Source/core/svg/graphics/SVGImage.cpp
|
| diff --git a/Source/core/svg/graphics/SVGImage.cpp b/Source/core/svg/graphics/SVGImage.cpp
|
| index f8ebae6f1b7f83303d691f2219d0edd6f127cdb5..2c1adb6e842adeb1ec95a4454a72feede68f863c 100644
|
| --- a/Source/core/svg/graphics/SVGImage.cpp
|
| +++ b/Source/core/svg/graphics/SVGImage.cpp
|
| @@ -143,7 +143,7 @@ void SVGImage::setContainerSize(const IntSize& size)
|
| FrameView* view = frameView();
|
| view->resize(this->containerSize());
|
|
|
| - LayoutSVGRoot* renderer = toLayoutSVGRoot(rootElement->renderer());
|
| + LayoutSVGRoot* renderer = toLayoutSVGRoot(rootElement->layoutObject());
|
| if (!renderer)
|
| return;
|
| renderer->setContainerSize(size);
|
| @@ -155,7 +155,7 @@ IntSize SVGImage::containerSize() const
|
| if (!rootElement)
|
| return IntSize();
|
|
|
| - LayoutSVGRoot* renderer = toLayoutSVGRoot(rootElement->renderer());
|
| + LayoutSVGRoot* renderer = toLayoutSVGRoot(rootElement->layoutObject());
|
| if (!renderer)
|
| return IntSize();
|
|
|
| @@ -331,7 +331,7 @@ LayoutBox* SVGImage::embeddedContentBox() const
|
| SVGSVGElement* rootElement = svgRootElement(m_page.get());
|
| if (!rootElement)
|
| return 0;
|
| - return toLayoutBox(rootElement->renderer());
|
| + return toLayoutBox(rootElement->layoutObject());
|
| }
|
|
|
| FrameView* SVGImage::frameView() const
|
|
|