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

Unified Diff: Source/core/dom/NodeFilterCondition.h

Issue 225783003: Remove ScriptState from NodeIterator, NodeFilter, NodeFilterCondition and TreeWalker (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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.idl ('k') | Source/core/dom/NodeFilterCondition.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NodeFilterCondition.h
diff --git a/Source/core/dom/NodeFilterCondition.h b/Source/core/dom/NodeFilterCondition.h
index 4c838e9e094dc9c81e0b2b7b9cc515404a46755f..e6dbc923bf2af929c7cd7f8487cfd2896d2ddae0 100644
--- a/Source/core/dom/NodeFilterCondition.h
+++ b/Source/core/dom/NodeFilterCondition.h
@@ -25,18 +25,18 @@
#ifndef NodeFilterCondition_h
#define NodeFilterCondition_h
-#include "bindings/v8/ScriptState.h"
#include "wtf/RefCounted.h"
namespace WebCore {
- class Node;
+class ExceptionState;
+class Node;
- class NodeFilterCondition : public RefCounted<NodeFilterCondition> {
- public:
- virtual ~NodeFilterCondition() { }
- virtual short acceptNode(ScriptState*, Node*) const = 0;
- };
+class NodeFilterCondition : public RefCounted<NodeFilterCondition> {
+public:
+ virtual ~NodeFilterCondition() { }
+ virtual short acceptNode(Node*, ExceptionState&) const = 0;
+};
} // namespace WebCore
« no previous file with comments | « Source/core/dom/NodeFilter.idl ('k') | Source/core/dom/NodeFilterCondition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698