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

Unified Diff: third_party/WebKit/Source/core/html/HTMLBaseElement.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/html/HTMLBaseElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp b/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp
index 3348998d63b5af4b245520a77e545a19f785f100..0d6a282737928183ec9ea15d3039a341d4e7f2e2 100644
--- a/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLBaseElement.cpp
@@ -56,9 +56,9 @@ Node::InsertionNotificationRequest HTMLBaseElement::insertedInto(ContainerNode*
return InsertionDone;
}
-void HTMLBaseElement::removedFrom(ContainerNode* insertionPoint)
+void HTMLBaseElement::removedFrom(ContainerNode* insertionPoint, Node* next)
{
- HTMLElement::removedFrom(insertionPoint);
+ HTMLElement::removedFrom(insertionPoint, next);
if (insertionPoint->inDocument())
document().processBaseElement();
}

Powered by Google App Engine
This is Rietveld 408576698