Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp |
index 4adadf94e71f3646a0d0bb8492aba3912c38ec32..010e75ff843974b9b0b0541d0b829308940eaa5b 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp |
@@ -51,6 +51,8 @@ void LayoutSVGPath::updateShapeFromElement() |
processMarkerPositions(); |
m_strokeBoundingBox = calculateUpdatedStrokeBoundingBox(); |
+ if (element()) |
+ element()->sizeMayHaveChanged(); |
} |
FloatRect LayoutSVGPath::hitTestStrokeBoundingBox() const |