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

Unified Diff: Source/core/dom/Document.idl

Issue 342403007: Use IDL argument default values in Document.idl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: restore FIXME Created 6 years, 6 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/Document.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.idl
diff --git a/Source/core/dom/Document.idl b/Source/core/dom/Document.idl
index 512d8c038d47cad4708610e501ab7ac276c99f4f..3887a624acfcf4dfa67744f3bbb37d1281c0ec18 100644
--- a/Source/core/dom/Document.idl
+++ b/Source/core/dom/Document.idl
@@ -72,11 +72,11 @@ typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
// DOM Level 2 Traversal and Range (DocumentTraversal interface)
[RaisesException] NodeIterator createNodeIterator(Node root,
- optional unsigned long whatToShow,
- optional NodeFilter filter);
+ optional unsigned long whatToShow = 0xFFFFFFFF,
+ optional NodeFilter? filter = null);
[RaisesException] TreeWalker createTreeWalker(Node root,
- optional unsigned long whatToShow,
- optional NodeFilter filter);
+ optional unsigned long whatToShow = 0xFFFFFFFF,
+ optional NodeFilter? filter = null);
// DOM Level 2 Abstract Views (DocumentView interface)
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698