Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index 209263fcd7f8dca75f5d513b0b5faf0a6d6ea6cc..2b07233ac66f4ef5deab30eade89d5a529a5835e 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); |