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 e0499c8cf5ec55387e2cd91af9534e6d6778e6d8..51e404b22cfd7d66149eaddd9a189b19e4668647 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()->setNeedsResizeObserverUpdate(); |
} |
void LayoutSVGImage::layout() |