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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/InsertionPoint.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/dom/shadow/InsertionPoint.cpp
diff --git a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
index eba7d6e787a4da6e4af08959939f6febb50797d9..f6f3a22f30770e8f9bacdcc20e3d6524598789ac 100644
--- a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
+++ b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
@@ -221,7 +221,7 @@ Node::InsertionNotificationRequest InsertionPoint::insertedInto(ContainerNode* i
return InsertionDone;
}
-void InsertionPoint::removedFrom(ContainerNode* insertionPoint)
+void InsertionPoint::removedFrom(ContainerNode* insertionPoint, Node* next)
{
ShadowRoot* root = containingShadowRoot();
if (!root)
@@ -248,7 +248,7 @@ void InsertionPoint::removedFrom(ContainerNode* insertionPoint)
}
}
- HTMLElement::removedFrom(insertionPoint);
+ HTMLElement::removedFrom(insertionPoint, next);
}
DEFINE_TRACE(InsertionPoint)

Powered by Google App Engine
This is Rietveld 408576698