| Index: sky/engine/core/dom/ContainerNode.cpp
|
| diff --git a/sky/engine/core/dom/ContainerNode.cpp b/sky/engine/core/dom/ContainerNode.cpp
|
| index 8373222c4c4d30661db951fa4d3d66dd08b85ad8..59e5a830c3d1e2d1af4a4cbdc6838fa8359690b0 100644
|
| --- a/sky/engine/core/dom/ContainerNode.cpp
|
| +++ b/sky/engine/core/dom/ContainerNode.cpp
|
| @@ -499,23 +499,6 @@ void ContainerNode::removeBetween(Node* previousChild, Node* nextChild, Node& ol
|
| document().adoptIfNeeded(oldChild);
|
| }
|
|
|
| -void ContainerNode::parserRemoveChild(Node& oldChild)
|
| -{
|
| - ASSERT(oldChild.parentNode() == this);
|
| - ASSERT(!oldChild.isDocumentFragment());
|
| -
|
| - Node* prev = oldChild.previousSibling();
|
| - Node* next = oldChild.nextSibling();
|
| -
|
| - ChildListMutationScope(*this).willRemoveChild(oldChild);
|
| - oldChild.notifyMutationObserversNodeWillDetach();
|
| -
|
| - removeBetween(prev, next, oldChild);
|
| -
|
| - notifyNodeRemoved(oldChild);
|
| - childrenChanged(ChildrenChange::forRemoval(oldChild, ChildrenChangeSourceParser));
|
| -}
|
| -
|
| // this differs from other remove functions because it forcibly removes all the children,
|
| // regardless of read-only status or event exceptions, e.g.
|
| void ContainerNode::removeChildren()
|
|
|