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

Unified Diff: Source/core/dom/TagCollection.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/TagCollection.h ('k') | Source/core/dom/shadow/InsertionPoint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/TagCollection.cpp
diff --git a/Source/core/dom/TagCollection.cpp b/Source/core/dom/TagCollection.cpp
index 98bd3e4e3dd122d24742d270b36d5453819e6625..0e2bb71ff2ded1708087dc4d19134fadab64594d 100644
--- a/Source/core/dom/TagCollection.cpp
+++ b/Source/core/dom/TagCollection.cpp
@@ -39,10 +39,12 @@ TagCollection::TagCollection(ContainerNode& rootNode, CollectionType type, const
TagCollection::~TagCollection()
{
+#if !ENABLE(OILPAN)
if (m_namespaceURI == starAtom)
ownerNode().nodeLists()->removeCache(this, type(), m_localName);
else
ownerNode().nodeLists()->removeCache(this, m_namespaceURI, m_localName);
+#endif
}
bool TagCollection::elementMatches(const Element& testNode) const
« no previous file with comments | « Source/core/dom/TagCollection.h ('k') | Source/core/dom/shadow/InsertionPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698