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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTitleElement.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/SVGTitleElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTitleElement.cpp b/third_party/WebKit/Source/core/svg/SVGTitleElement.cpp
index a905ac67a073a83b65009b0a4cd591e8f330bd6b..e942204526d793b3b8046fc07987ace11601966e 100644
--- a/third_party/WebKit/Source/core/svg/SVGTitleElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTitleElement.cpp
@@ -43,9 +43,9 @@ Node::InsertionNotificationRequest SVGTitleElement::insertedInto(ContainerNode*
return InsertionDone;
}
-void SVGTitleElement::removedFrom(ContainerNode* rootParent)
+void SVGTitleElement::removedFrom(ContainerNode* rootParent, Node* next)
{
- SVGElement::removedFrom(rootParent);
+ SVGElement::removedFrom(rootParent, next);
if (rootParent->inDocument() && document().isSVGDocument())
document().removeTitle(this);
}

Powered by Google App Engine
This is Rietveld 408576698