| Index: Source/core/svg/graphics/SVGImage.cpp
|
| diff --git a/Source/core/svg/graphics/SVGImage.cpp b/Source/core/svg/graphics/SVGImage.cpp
|
| index fdf5bc94a3a054c18b54701c0b4cfbba73a3e76a..619a51f8cbec5cedfd0b355292fbf86bd031defa 100644
|
| --- a/Source/core/svg/graphics/SVGImage.cpp
|
| +++ b/Source/core/svg/graphics/SVGImage.cpp
|
| @@ -287,9 +287,7 @@ void SVGImage::draw(GraphicsContext* context, const FloatRect& dstRect, const Fl
|
| if (!m_url.isEmpty())
|
| view->scrollToFragment(m_url);
|
|
|
| - if (view->needsLayout())
|
| - view->layout();
|
| -
|
| + view->updateLayoutAndStyleForPainting();
|
| view->paint(context, enclosingIntRect(srcRect));
|
| ASSERT(!view->needsLayout());
|
|
|
|
|