| Index: Source/core/dom/ContainerNode.cpp
|
| diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp
|
| index 90fb8b95765b2b14cd01fa75d3bc6bcc2658450c..5a44e55d67cbe96d456b2c3e4279929563e6b35a 100644
|
| --- a/Source/core/dom/ContainerNode.cpp
|
| +++ b/Source/core/dom/ContainerNode.cpp
|
| @@ -513,6 +513,9 @@ void ContainerNode::addChildNodesToDeletionQueue(Node*& head, Node*& tail, Conta
|
| next->setPreviousSibling(nullptr);
|
|
|
| if (!n->refCount()) {
|
| + if (n->inDocument())
|
| + container.document().decrementNodeCount();
|
| +
|
| #if ENABLE(SECURITY_ASSERT)
|
| n->m_deletionHasBegun = true;
|
| #endif
|
|
|