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

Unified Diff: Source/core/dom/TreeWalker.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/NodeIteratorBase.cpp ('k') | Source/core/dom/TreeWalker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/TreeWalker.h
diff --git a/Source/core/dom/TreeWalker.h b/Source/core/dom/TreeWalker.h
index e1a512f925def67a1fc680723bc1319be6916393..a48e011b31d1ef4851648b9696c43e4a0c220502 100644
--- a/Source/core/dom/TreeWalker.h
+++ b/Source/core/dom/TreeWalker.h
@@ -45,13 +45,13 @@ public:
Node* currentNode() const { return m_current.get(); }
void setCurrentNode(PassRefPtr<Node>, ExceptionState&);
- Node* parentNode(ScriptState*);
- Node* firstChild(ScriptState*);
- Node* lastChild(ScriptState*);
- Node* previousSibling(ScriptState*);
- Node* nextSibling(ScriptState*);
- Node* previousNode(ScriptState*);
- Node* nextNode(ScriptState*);
+ Node* parentNode(ExceptionState&);
+ Node* firstChild(ExceptionState&);
+ Node* lastChild(ExceptionState&);
+ Node* previousSibling(ExceptionState&);
+ Node* nextSibling(ExceptionState&);
+ Node* previousNode(ExceptionState&);
+ Node* nextNode(ExceptionState&);
private:
TreeWalker(PassRefPtr<Node>, unsigned whatToShow, PassRefPtr<NodeFilter>);
« no previous file with comments | « Source/core/dom/NodeIteratorBase.cpp ('k') | Source/core/dom/TreeWalker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698