Index: Source/core/dom/NodeIteratorBase.cpp |
diff --git a/Source/core/dom/Traversal.cpp b/Source/core/dom/NodeIteratorBase.cpp |
similarity index 87% |
rename from Source/core/dom/Traversal.cpp |
rename to Source/core/dom/NodeIteratorBase.cpp |
index a9262cc934d7d70b0c93f1e1834b5885f42120a6..aa450fe29c6676d028b4063ebdf73f3fa6389877 100644 |
--- a/Source/core/dom/Traversal.cpp |
+++ b/Source/core/dom/NodeIteratorBase.cpp |
@@ -23,21 +23,21 @@ |
*/ |
#include "config.h" |
-#include "core/dom/Traversal.h" |
+#include "core/dom/NodeIteratorBase.h" |
#include "core/dom/Node.h" |
#include "core/dom/NodeFilter.h" |
namespace WebCore { |
-Traversal::Traversal(PassRefPtr<Node> rootNode, unsigned whatToShow, PassRefPtr<NodeFilter> nodeFilter) |
+NodeIteratorBase::NodeIteratorBase(PassRefPtr<Node> rootNode, unsigned whatToShow, PassRefPtr<NodeFilter> nodeFilter) |
: m_root(rootNode) |
, m_whatToShow(whatToShow) |
, m_filter(nodeFilter) |
{ |
} |
-short Traversal::acceptNode(ScriptState* state, Node* node) const |
+short NodeIteratorBase::acceptNode(ScriptState* state, Node* node) const |
{ |
// The bit twiddling here is done to map DOM node types, which are given as integers from |
// 1 through 14, to whatToShow bit masks. |