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

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

Issue 285213003: Oilpan: move Node traversal objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Drop nullptr type conversions 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/NodeFilter.h ('k') | Source/core/dom/NodeFilter.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NodeFilter.cpp
diff --git a/Source/core/dom/NodeFilter.cpp b/Source/core/dom/NodeFilter.cpp
index da29d925125954ac66a1e41742badc12f49be20e..f207378e1c71e6168a6dd55e287bbdace70728a7 100644
--- a/Source/core/dom/NodeFilter.cpp
+++ b/Source/core/dom/NodeFilter.cpp
@@ -33,4 +33,9 @@ short NodeFilter::acceptNode(Node* node, ExceptionState& exceptionState) const
return m_condition ? m_condition->acceptNode(node, exceptionState) : static_cast<short>(FILTER_ACCEPT);
}
+void NodeFilter::trace(Visitor* visitor)
+{
+ visitor->trace(m_condition);
+}
+
} // namespace WebCore
« no previous file with comments | « Source/core/dom/NodeFilter.h ('k') | Source/core/dom/NodeFilter.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698