| Index: webkit/pending/Traversal.cpp
|
| ===================================================================
|
| --- webkit/pending/Traversal.cpp (revision 2614)
|
| +++ webkit/pending/Traversal.cpp (working copy)
|
| @@ -25,13 +25,10 @@
|
| #include "config.h"
|
| #include "Traversal.h"
|
|
|
| +#include "ExceptionContext.h"
|
| #include "Node.h"
|
| #include "NodeFilter.h"
|
|
|
| -#if USE(JSC)
|
| -using namespace KJS;
|
| -#endif
|
| -
|
| namespace WebCore {
|
|
|
| Traversal::Traversal(PassRefPtr<Node> rootNode, unsigned whatToShow, PassRefPtr<NodeFilter> nodeFilter, bool expandEntityReferences)
|
| @@ -42,8 +39,7 @@
|
| {
|
| }
|
|
|
| -#if USE(JSC)
|
| -short Traversal::acceptNode(ExecState* exec, Node* node) const
|
| +short Traversal::acceptNode(ExceptionContext* exec, Node* node) const
|
| {
|
| // FIXME: To handle XML properly we would have to check m_expandEntityReferences.
|
|
|
| @@ -55,6 +51,5 @@
|
| return NodeFilter::FILTER_ACCEPT;
|
| return m_filter->acceptNode(exec, node);
|
| }
|
| -#endif
|
|
|
| } // namespace WebCore
|
|
|