Index: third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp |
index 3f889162dbd379bbb79f0cd78d6b9e386d4dafe7..8cb6cb5793e6f0eadab15b912b589c04f9f34672 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp |
@@ -139,6 +139,9 @@ void SVGTextPathElement::buildPendingResource() |
// that leads to relayout/repainting now informs us, so we can react to it. |
addReferenceTo(toSVGElement((target))); |
} |
+ |
+ if (LayoutObject* layoutObject = this->layoutObject()) |
+ markForLayoutAndParentResourceInvalidation(layoutObject); |
} |
Node::InsertionNotificationRequest SVGTextPathElement::insertedInto(ContainerNode* rootParent) |