| Index: Source/core/svg/graphics/SVGImage.cpp
|
| ===================================================================
|
| --- Source/core/svg/graphics/SVGImage.cpp (revision 168151)
|
| +++ Source/core/svg/graphics/SVGImage.cpp (working copy)
|
| @@ -120,13 +120,13 @@
|
| SVGSVGElement* rootElement = toSVGDocument(frame->document())->rootElement();
|
| if (!rootElement)
|
| return;
|
| - RenderSVGRoot* renderer = toRenderSVGRoot(rootElement->renderer());
|
| - if (!renderer)
|
| - return;
|
|
|
| FrameView* view = frameView();
|
| view->resize(this->containerSize());
|
|
|
| + RenderSVGRoot* renderer = toRenderSVGRoot(rootElement->renderer());
|
| + if (!renderer)
|
| + return;
|
| renderer->setContainerSize(size);
|
| }
|
|
|
|
|