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

Unified Diff: Source/core/svg/SVGPathElement.cpp

Issue 1134733005: SVG <use> should update when the referenced <path> is updating pathSegList. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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
Index: Source/core/svg/SVGPathElement.cpp
diff --git a/Source/core/svg/SVGPathElement.cpp b/Source/core/svg/SVGPathElement.cpp
index 270efb958934b6cc21643952b29b0c511bd5d0d6..5c9f96d9fc4a05617707c53ee01bdf18208e0c14 100644
--- a/Source/core/svg/SVGPathElement.cpp
+++ b/Source/core/svg/SVGPathElement.cpp
@@ -250,6 +250,7 @@ void SVGPathElement::removedFrom(ContainerNode* rootParent)
void SVGPathElement::pathSegListChanged(ListModification listModification)
{
+ SVGElement::InvalidationGuard invalidationGuard(this);
fs 2015/05/13 12:35:21 Move this down a bit. (After invalidateSVGAttribut
Shanmuga Pandi 2015/05/13 13:00:40 Done.
m_pathSegList->baseValue()->clearByteStream();
invalidateSVGAttributes();

Powered by Google App Engine
This is Rietveld 408576698