Chromium Code Reviews| Index: Source/core/svg/graphics/SVGImage.cpp |
| diff --git a/Source/core/svg/graphics/SVGImage.cpp b/Source/core/svg/graphics/SVGImage.cpp |
| index dbbde30203e75fc51893e8ca4b6b3b8cd8486f6d..4db4b04f5c870979ac2164b98c7651c7401e5fd3 100644 |
| --- a/Source/core/svg/graphics/SVGImage.cpp |
| +++ b/Source/core/svg/graphics/SVGImage.cpp |
| @@ -286,8 +286,7 @@ void SVGImage::draw(GraphicsContext* context, const FloatRect& dstRect, const Fl |
| FrameView* view = frameView(); |
| view->resize(containerSize()); |
| - if (!m_url.isEmpty()) |
| - view->scrollToFragment(m_url); |
| + view->scrollToFragment(m_url); |
|
fs
2015/01/26 12:06:30
Maybe add a short note here as to why this is alwa
|
| view->updateLayoutAndStyleForPainting(); |
| view->paint(context, enclosingIntRect(srcRect)); |