canReplaceChild 150 Source/core/dom/ContainerNode.cpp if (!toDocument(this)->canReplaceChild(*newChild, *oldChild)) { canReplaceChild 677 Source/core/dom/Document.h bool canReplaceChild(const Node& newChild, const Node& oldChild) const;