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..f54d89ac835be5376a10a8bf70979cc509f8a5d8 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp |
@@ -138,6 +138,8 @@ void SVGTextPathElement::buildPendingResource() |
// Register us with the target in the dependencies map. Any change of hrefElement |
// that leads to relayout/repainting now informs us, so we can react to it. |
addReferenceTo(toSVGElement((target))); |
+ if (LayoutObject* object = layoutObject()) |
+ markForLayoutAndParentResourceInvalidation(object); |
} |
} |