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 32f65ee11d237cc6bf9f1f6f254fe42d3129609c..721239332e7a1ebbda78bee04bf1ac4320ae3806 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()->sizeMayHaveChanged(); |
} |
FloatRect LayoutSVGShape::hitTestStrokeBoundingBox() const |