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

Unified Diff: Source/core/frame/WindowTimers.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/Window.idl ('k') | Source/core/html/HTMLAllCollection.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/WindowTimers.idl
diff --git a/Source/core/frame/WindowTimers.idl b/Source/core/frame/WindowTimers.idl
index 47f394fc249175fc435305994fd8e972a4f1f1ca..2014ec5a248dbc9cf0b3e6fcb76781af25b49db0 100644
--- a/Source/core/frame/WindowTimers.idl
+++ b/Source/core/frame/WindowTimers.idl
@@ -38,8 +38,8 @@
// FIXME: would be clearer as a union type, like:
// typedef (Function or DOMString) Handler
// Needs spec update and better union support: http://crbug.com/240176
- [Custom] long setTimeout(any handler, [Default=Undefined] optional long timeout);
- void clearTimeout([Default=Undefined] optional long handle);
- [Custom] long setInterval(any handler, [Default=Undefined] optional long timeout);
- void clearInterval([Default=Undefined] optional long handle);
+ [Custom] long setTimeout(any handler, optional long timeout);
+ void clearTimeout(optional long handle);
+ [Custom] long setInterval(any handler, optional long timeout);
+ void clearInterval(optional long handle);
};
« no previous file with comments | « Source/core/frame/Window.idl ('k') | Source/core/html/HTMLAllCollection.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698