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); |