Lines Matching refs:oldChild
166 bool ContainerNode::replaceChild(PassRefPtr<Node> newChild, Node* oldChild, ExceptionCode& ec, bool… in replaceChild() argument
174 if (oldChild == newChild) // nothing to do in replaceChild()
178 checkReplaceChild(newChild.get(), oldChild, ec); in replaceChild()
183 if (!oldChild || oldChild->parentNode() != this) { in replaceChild()
188 RefPtr<Node> prev = oldChild->previousSibling(); in replaceChild()
189 RefPtr<Node> next = oldChild->nextSibling(); in replaceChild()
192 RefPtr<Node> removedChild = oldChild; in replaceChild()
193 removeChild(oldChild, ec); in replaceChild()
302 bool ContainerNode::removeChild(Node* oldChild, ExceptionCode& ec) in removeChild() argument
317 if (!oldChild || oldChild->parentNode() != this) { in removeChild()
322 RefPtr<Node> child = oldChild; in removeChild()