Index: Source/core/svg/graphics/SVGImage.cpp |
diff --git a/Source/core/svg/graphics/SVGImage.cpp b/Source/core/svg/graphics/SVGImage.cpp |
index b58c885eaf61914e783e9d557bb2a6b5c29fb788..7d3a0bf35f5abe774b99875f53569ecf296f4d69 100644 |
--- a/Source/core/svg/graphics/SVGImage.cpp |
+++ b/Source/core/svg/graphics/SVGImage.cpp |
@@ -278,6 +278,7 @@ void SVGImage::draw(GraphicsContext* context, const FloatRect& dstRect, const Fl |
view->layout(); |
view->paint(context, enclosingIntRect(srcRect)); |
+ ASSERT(!view->needsLayout()); |
if (requiresTransparencyLayer) |
context->endLayer(); |