Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp |
index 78c399e6a5766db265f7b398f22fe282e4e157e2..386df4b9b7a8fd0a3268f1a8f2dd6a2ac3a99129 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp |
@@ -80,6 +80,8 @@ void LayoutSVGShape::updateShapeFromElement() |
m_fillBoundingBox = calculateObjectBoundingBox(); |
m_strokeBoundingBox = calculateStrokeBoundingBox(); |
+ if (element()) |
+ element()->setNeedsResizeObserverUpdate(); |
} |
FloatRect LayoutSVGShape::hitTestStrokeBoundingBox() const |