Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp |
index 91867b267e3846e7871142f9b3e0af1f11131e9a..920456edd89a317ff03f8292d87ed3ce738925ba 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp |
@@ -72,6 +72,8 @@ void LayoutSVGImage::updateBoundingBox() |
lengthContext.valueForLength(styleRef().width(), styleRef(), SVGLengthMode::Width), |
lengthContext.valueForLength(styleRef().height(), styleRef(), SVGLengthMode::Height)); |
m_needsBoundariesUpdate |= oldBoundaries != m_objectBoundingBox; |
+ if (element()) |
+ element()->sizeMayHaveChanged(); |
} |
void LayoutSVGImage::layout() |