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

Unified Diff: Source/core/html/HTMLAllCollection.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/frame/WindowTimers.idl ('k') | Source/core/html/HTMLCanvasElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLAllCollection.idl
diff --git a/Source/core/html/HTMLAllCollection.idl b/Source/core/html/HTMLAllCollection.idl
index d56b8b6dbf560bd7fab369a2cfa1052ea5f9a1ee..e278d441c7b742a991d4da5a2b7086946d7018bb 100644
--- a/Source/core/html/HTMLAllCollection.idl
+++ b/Source/core/html/HTMLAllCollection.idl
@@ -33,7 +33,7 @@
] interface HTMLAllCollection {
readonly attribute unsigned long length;
[ImplementedAs=item] getter Element (unsigned long index);
- [Custom] Element item([Default=Undefined] optional unsigned long index);
+ [Custom] Element item(optional unsigned long index);
// FIXME: This should return an (HTMLCollection or Element) union.
[ImplementedAs=namedGetter] getter (NodeList or Element) namedItem(DOMString name);
};
« no previous file with comments | « Source/core/frame/WindowTimers.idl ('k') | Source/core/html/HTMLCanvasElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698