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

Unified Diff: Source/core/dom/LiveNodeList.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/LiveNodeList.h ('k') | Source/core/dom/LiveNodeListBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/LiveNodeList.cpp
diff --git a/Source/core/dom/LiveNodeList.cpp b/Source/core/dom/LiveNodeList.cpp
index 7425e9cbf99404b4ed3f77ba930571e578d62d78..a577323050def4beb9cf566c72f49eee13f59776 100644
--- a/Source/core/dom/LiveNodeList.cpp
+++ b/Source/core/dom/LiveNodeList.cpp
@@ -60,4 +60,11 @@ Element* LiveNodeList::traverseBackwardToOffset(unsigned offset, Element& curren
return traverseMatchingElementsBackwardToOffset(*this, offset, currentNode, currentOffset);
}
+void LiveNodeList::trace(Visitor* visitor)
+{
+ visitor->trace(m_collectionIndexCache);
+ LiveNodeListBase::trace(visitor);
+ NodeList::trace(visitor);
+}
+
} // namespace WebCore
« no previous file with comments | « Source/core/dom/LiveNodeList.h ('k') | Source/core/dom/LiveNodeListBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698