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

Unified Diff: Source/core/dom/Document.h

Issue 779173002: Be more strict about multiple documentElements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tests Created 6 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: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index b42c576617870d330c5e9bbd4bb249835a354a63..a0e4771cd3bb638631b42ca0ff583dec6e694b79 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -662,7 +662,7 @@ public:
void nodeChildrenWillBeRemoved(ContainerNode&);
// nodeWillBeRemoved is only safe when removing one node at a time.
void nodeWillBeRemoved(Node&);
- bool canReplaceChild(const Node& newChild, const Node& oldChild) const;
+ bool canAcceptChild(const Node& newChild, const Node* oldChild, ExceptionState&) const;
void didInsertText(Node*, unsigned offset, unsigned length);
void didRemoveText(Node*, unsigned offset, unsigned length);

Powered by Google App Engine
This is Rietveld 408576698