| Index: Source/core/svg/graphics/SVGImage.cpp
|
| diff --git a/Source/core/svg/graphics/SVGImage.cpp b/Source/core/svg/graphics/SVGImage.cpp
|
| index fc7d45afddb197494fa754148a7dbce892f37fae..799d6a1aebaad748d15532ffbdddbc7334ff1d17 100644
|
| --- a/Source/core/svg/graphics/SVGImage.cpp
|
| +++ b/Source/core/svg/graphics/SVGImage.cpp
|
| @@ -275,6 +275,9 @@ void SVGImage::draw(GraphicsContext* context, const FloatRect& dstRect, const Fl
|
| FrameView* view = frameView();
|
| view->resize(containerSize());
|
|
|
| + if (!m_url.isEmpty())
|
| + view->scrollToFragment(m_url);
|
| +
|
| if (view->needsLayout())
|
| view->layout();
|
|
|
|
|