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

Unified Diff: third_party/WebKit/Source/core/dom/NodeIterator.h

Issue 2840163002: DOM: NodeIterator.filter and TreeWalker.filter should return values which were specified to createN… (Closed)
Patch Set: Move ToV8() to ToV8ForCore.h, etc. Created 3 years, 8 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
Index: third_party/WebKit/Source/core/dom/NodeIterator.h
diff --git a/third_party/WebKit/Source/core/dom/NodeIterator.h b/third_party/WebKit/Source/core/dom/NodeIterator.h
index e8c1c0c34fd15150c96ea5e042cc5b33f39d5f4d..4c44d48723c1a52f0ffb752b58e0c398056f0cdb 100644
--- a/third_party/WebKit/Source/core/dom/NodeIterator.h
+++ b/third_party/WebKit/Source/core/dom/NodeIterator.h
@@ -43,7 +43,7 @@ class NodeIterator final : public GarbageCollected<NodeIterator>,
public:
static NodeIterator* Create(Node* root_node,
unsigned what_to_show,
- NodeFilter* filter) {
+ V8NodeFilterCondition* filter) {
return new NodeIterator(root_node, what_to_show, filter);
}
@@ -64,7 +64,7 @@ class NodeIterator final : public GarbageCollected<NodeIterator>,
DECLARE_VIRTUAL_TRACE_WRAPPERS();
private:
- NodeIterator(Node*, unsigned what_to_show, NodeFilter*);
+ NodeIterator(Node*, unsigned what_to_show, V8NodeFilterCondition*);
class NodePointer {
DISALLOW_NEW();
« no previous file with comments | « third_party/WebKit/Source/core/dom/NodeFilterCondition.h ('k') | third_party/WebKit/Source/core/dom/NodeIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698