Index: Source/WebCore/dom/Node.cpp |
=================================================================== |
--- Source/WebCore/dom/Node.cpp (revision 81434) |
+++ Source/WebCore/dom/Node.cpp (working copy) |
@@ -1184,8 +1184,6 @@ |
ec = HIERARCHY_REQUEST_ERR; |
return; |
} |
- |
- newChild->setDocumentRecursively(document()); |
} |
void Node::checkAddChild(Node *newChild, ExceptionCode& ec) |
@@ -1198,8 +1196,6 @@ |
ec = HIERARCHY_REQUEST_ERR; |
return; |
} |
- |
- newChild->setDocumentRecursively(document()); |
} |
bool Node::isDescendantOf(const Node *other) const |