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

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

Issue 337343002: IDL: make optional arguments (without default) explicit sometimes Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-default-arguments-next
Patch Set: Created 6 years, 4 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/shadow/ShadowRoot.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Range.idl
diff --git a/Source/core/dom/Range.idl b/Source/core/dom/Range.idl
index cb2d8fdd96599324dcbd78754025028f110ec6f9..7217b8e3b6dfa3aca654feba8b6ef0a5835a9a88 100644
--- a/Source/core/dom/Range.idl
+++ b/Source/core/dom/Range.idl
@@ -83,7 +83,7 @@
const unsigned short NODE_BEFORE_AND_AFTER = 2;
const unsigned short NODE_INSIDE = 3;
- [RaisesException, MeasureAs=RangeCompareNode] short compareNode([Default=Undefined] optional Node refNode);
+ [RaisesException, MeasureAs=RangeCompareNode] short compareNode(optional Node refNode);
- [RaisesException, MeasureAs=RangeExpand] void expand([Default=Undefined] optional DOMString unit);
+ [RaisesException, MeasureAs=RangeExpand] void expand(optional DOMString unit);
};
« no previous file with comments | « Source/core/dom/NodeFilter.idl ('k') | Source/core/dom/shadow/ShadowRoot.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698