Chromium Code Reviews

Unified Diff: Source/core/dom/Document.cpp

Issue 1309083002: Accurately update Document node counts on disposing shadow roots. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adjust document node count in addChildNodesToDeletionQueue() Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index b64db4415dd282746cfe66f2dc37d0ce296663c4..b624312af7e4dd9fe040f124f899472a90a82f02 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -596,7 +596,6 @@ void Document::dispose()
DocumentLifecycleNotifier::notifyDocumentWasDisposed();
m_canvasFontCache.clear();
- m_nodeCount = 0;
}
#endif
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine