Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp

Issue 1812493002: If add 'id' on pending SVG resource references does not work for non-resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/text/removing-id-on-path-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/text/removing-id-on-path-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698