Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(774)

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

Issue 280123002: Oilpan: move LiveNodeList collections to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have NodeRareData clear out NodeListsNodeData instead. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/NameNodeList.h ('k') | Source/core/dom/NamedNodesCollection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NameNodeList.cpp
diff --git a/Source/core/dom/NameNodeList.cpp b/Source/core/dom/NameNodeList.cpp
index 0c0e385dcf0d430b93aec3b1c3a9678dcf2bf192..cd844cac8fef2495cc1f02c484a36c61e9349f3c 100644
--- a/Source/core/dom/NameNodeList.cpp
+++ b/Source/core/dom/NameNodeList.cpp
@@ -39,7 +39,9 @@ NameNodeList::NameNodeList(ContainerNode& rootNode, const AtomicString& name)
NameNodeList::~NameNodeList()
{
+#if !ENABLE(OILPAN)
ownerNode().nodeLists()->removeCache(this, NameNodeListType, m_name);
+#endif
}
bool NameNodeList::elementMatches(const Element& element) const
« no previous file with comments | « Source/core/dom/NameNodeList.h ('k') | Source/core/dom/NamedNodesCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698