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

Unified Diff: third_party/WebKit/Source/core/html/HTMLObjectElement.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/HTMLObjectElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp b/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
index bab324ac73d65cb4d14b096ed3e34703614e73a8..be530ee6dc858bee06f6e3136172c39c523ae9d5 100644
--- a/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
@@ -312,10 +312,10 @@ Node::InsertionNotificationRequest HTMLObjectElement::insertedInto(ContainerNode
return InsertionDone;
}
-void HTMLObjectElement::removedFrom(ContainerNode* insertionPoint)
+void HTMLObjectElement::removedFrom(ContainerNode* insertionPoint, Node* next)
{
- HTMLPlugInElement::removedFrom(insertionPoint);
- FormAssociatedElement::removedFrom(insertionPoint);
+ HTMLPlugInElement::removedFrom(insertionPoint, next);
+ FormAssociatedElement::removedFrom(insertionPoint, next);
}
void HTMLObjectElement::childrenChanged(const ChildrenChange& change)

Powered by Google App Engine
This is Rietveld 408576698