Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / dom / NodeIteratorBase.h
index 0118e3e..cc240f1 100644 (file)
 #ifndef NodeIteratorBase_h
 #define NodeIteratorBase_h
 
-#include "bindings/v8/ScriptState.h"
 #include "wtf/RefPtr.h"
 
 namespace WebCore {
 
+class ExceptionState;
 class Node;
 class NodeFilter;
 
@@ -45,7 +45,7 @@ public:
 
 protected:
     NodeIteratorBase(PassRefPtr<Node>, unsigned whatToShow, PassRefPtr<NodeFilter>);
-    short acceptNode(ScriptState*, Node*) const;
+    short acceptNode(Node*, ExceptionState&) const;
 
 private:
     RefPtr<Node> m_root;