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

Unified Diff: third_party/WebKit/Source/core/html/HTMLIFrameElement.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/HTMLIFrameElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
index 4ccd90eec5511ecdbf14f0112eedf04ad8384b83..2b6b19cc97919a3931348991812a3a57748e56dd 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
@@ -134,9 +134,9 @@ Node::InsertionNotificationRequest HTMLIFrameElement::insertedInto(ContainerNode
return result;
}
-void HTMLIFrameElement::removedFrom(ContainerNode* insertionPoint)
+void HTMLIFrameElement::removedFrom(ContainerNode* insertionPoint, Node* next)
{
- HTMLFrameElementBase::removedFrom(insertionPoint);
+ HTMLFrameElementBase::removedFrom(insertionPoint, next);
if (insertionPoint->inDocument() && document().isHTMLDocument() && !insertionPoint->isInShadowTree())
toHTMLDocument(document()).removeExtraNamedItem(m_name);
}

Powered by Google App Engine
This is Rietveld 408576698