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

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

Issue 1511523002: Align HTMLImageElement relevant mutations to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix removal issue when a text node is between <source> and <img> Created 5 years 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: third_party/WebKit/Source/core/svg/SVGUseElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
index d4e171615d366d238fcfbc9674088ee493640bec..d0e9f5661bb28382504b14154a99d22d452b87cb 100644
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
@@ -120,9 +120,9 @@ Node::InsertionNotificationRequest SVGUseElement::insertedInto(ContainerNode* ro
return InsertionDone;
}
-void SVGUseElement::removedFrom(ContainerNode* rootParent)
+void SVGUseElement::removedFrom(ContainerNode* rootParent, Node* next)
{
- SVGGraphicsElement::removedFrom(rootParent);
+ SVGGraphicsElement::removedFrom(rootParent, next);
if (rootParent->inDocument()) {
clearShadowTree();
cancelShadowTreeRecreation();

Powered by Google App Engine
This is Rietveld 408576698