Index: Source/core/dom/NodeIteratorBase.cpp |
diff --git a/Source/core/dom/NodeIteratorBase.cpp b/Source/core/dom/NodeIteratorBase.cpp |
index db5bf008c23ee9840da69c97da3f4881d99cc33d..8899fc88dce79d403d732b4270ebd5f26c4d274d 100644 |
--- a/Source/core/dom/NodeIteratorBase.cpp |
+++ b/Source/core/dom/NodeIteratorBase.cpp |
@@ -31,7 +31,7 @@ |
namespace WebCore { |
-NodeIteratorBase::NodeIteratorBase(PassRefPtr<Node> rootNode, unsigned whatToShow, PassRefPtr<NodeFilter> nodeFilter) |
+NodeIteratorBase::NodeIteratorBase(PassRefPtrWillBeRawPtr<Node> rootNode, unsigned whatToShow, PassRefPtrWillBeRawPtr<NodeFilter> nodeFilter) |
: m_root(rootNode) |
, m_whatToShow(whatToShow) |
, m_filter(nodeFilter) |
@@ -49,4 +49,10 @@ short NodeIteratorBase::acceptNode(Node* node, ExceptionState& exceptionState) c |
return m_filter->acceptNode(node, exceptionState); |
} |
+void NodeIteratorBase::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_root); |
+ visitor->trace(m_filter); |
+} |
+ |
} // namespace WebCore |