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

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: Pre-emptively GC a long runnning test 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
Index: Source/core/dom/LiveNodeList.cpp
diff --git a/Source/core/dom/LiveNodeList.cpp b/Source/core/dom/LiveNodeList.cpp
index 7425e9cbf99404b4ed3f77ba930571e578d62d78..083410617a4d3895951dd422fabcfc9b71e98eba 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)
+{
+ m_collectionIndexCache.traceAfterDispatch(visitor);
+ LiveNodeListBase::trace(visitor);
+ NodeList::trace(visitor);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698