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

Unified Diff: Source/core/html/LabelsNodeList.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/html/LabelsNodeList.h ('k') | Source/core/html/RadioNodeList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/LabelsNodeList.cpp
diff --git a/Source/core/html/LabelsNodeList.cpp b/Source/core/html/LabelsNodeList.cpp
index 1f6068c736c895009f4f5a818b0ff542c2568aa7..6a1e1cee734e01e9e382711ed25d560ac4ebff4a 100644
--- a/Source/core/html/LabelsNodeList.cpp
+++ b/Source/core/html/LabelsNodeList.cpp
@@ -40,7 +40,9 @@ LabelsNodeList::LabelsNodeList(ContainerNode& ownerNode)
LabelsNodeList::~LabelsNodeList()
{
+#if !ENABLE(OILPAN)
ownerNode().nodeLists()->removeCache(this, LabelsNodeListType);
+#endif
}
bool LabelsNodeList::elementMatches(const Element& element) const
« no previous file with comments | « Source/core/html/LabelsNodeList.h ('k') | Source/core/html/RadioNodeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698