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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentType.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/DocumentType.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentType.cpp b/third_party/WebKit/Source/core/dom/DocumentType.cpp
index 78c5c4eb4e0a3e21907105a49a96865e7196b048..fb182a2932afddc998e1270c4de8a6269072d86b 100644
--- a/third_party/WebKit/Source/core/dom/DocumentType.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentType.cpp
@@ -68,10 +68,10 @@ Node::InsertionNotificationRequest DocumentType::insertedInto(ContainerNode* ins
return InsertionDone;
}
-void DocumentType::removedFrom(ContainerNode* insertionPoint)
+void DocumentType::removedFrom(ContainerNode* insertionPoint, Node* next)
{
document().setDoctype(nullptr);
- Node::removedFrom(insertionPoint);
+ Node::removedFrom(insertionPoint, next);
}
}

Powered by Google App Engine
This is Rietveld 408576698