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

Unified Diff: third_party/WebKit/Source/core/svg/animation/SVGSMILElement.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/animation/SVGSMILElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
index 81a97be2900fbbf78a7861971ac8cff18898cba9..ffefe256c2fd3ec5a2e9566e954e9da1a4f7a9cc 100644
--- a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
+++ b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
@@ -348,7 +348,7 @@ Node::InsertionNotificationRequest SVGSMILElement::insertedInto(ContainerNode* r
return InsertionDone;
}
-void SVGSMILElement::removedFrom(ContainerNode* rootParent)
+void SVGSMILElement::removedFrom(ContainerNode* rootParent, Node* next)
{
if (rootParent->inDocument()) {
clearResourceAndEventBaseReferences();
@@ -359,7 +359,7 @@ void SVGSMILElement::removedFrom(ContainerNode* rootParent)
m_timeContainer = nullptr;
}
- SVGElement::removedFrom(rootParent);
+ SVGElement::removedFrom(rootParent, next);
}
bool SVGSMILElement::hasValidAttributeName()

Powered by Google App Engine
This is Rietveld 408576698