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

Unified Diff: third_party/WebKit/Source/core/svg/SVGSVGElement.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/SVGSVGElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
index 576fc4c7fe74849a2a946d918ac9f3950587d7ec..d9d7d399a792d96abd9bd8cab88cdb1f6c9b2871 100644
--- a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
@@ -548,7 +548,7 @@ Node::InsertionNotificationRequest SVGSVGElement::insertedInto(ContainerNode* ro
return SVGGraphicsElement::insertedInto(rootParent);
}
-void SVGSVGElement::removedFrom(ContainerNode* rootParent)
+void SVGSVGElement::removedFrom(ContainerNode* rootParent, Node* next)
{
if (rootParent->inDocument()) {
SVGDocumentExtensions& svgExtensions = document().accessSVGExtensions();
@@ -556,7 +556,7 @@ void SVGSVGElement::removedFrom(ContainerNode* rootParent)
svgExtensions.removeSVGRootWithRelativeLengthDescendents(this);
}
- SVGGraphicsElement::removedFrom(rootParent);
+ SVGGraphicsElement::removedFrom(rootParent, next);
}
void SVGSVGElement::pauseAnimations()

Powered by Google App Engine
This is Rietveld 408576698