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

Unified Diff: Source/modules/webaudio/AudioNode.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/modules/serviceworkers/Headers.cpp ('k') | Source/modules/websockets/DOMWebSocket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioNode.idl
diff --git a/Source/modules/webaudio/AudioNode.idl b/Source/modules/webaudio/AudioNode.idl
index 41396a38b3ae772350807e4633b89b8a6c0f6ba6..599379e1c2ffdb63a891cc10f736118ad804f32d 100644
--- a/Source/modules/webaudio/AudioNode.idl
+++ b/Source/modules/webaudio/AudioNode.idl
@@ -41,9 +41,9 @@ enum ChannelInterpretation {
GarbageCollected,
] interface AudioNode : EventTarget {
// FIXME: AudioNode argument should not be nullable
- [RaisesException] void connect(AudioNode? destination, [Default=Undefined] optional unsigned long output, [Default=Undefined] optional unsigned long input);
- [RaisesException] void connect(AudioParam destination, [Default=Undefined] optional unsigned long output);
- [RaisesException] void disconnect([Default=Undefined] optional unsigned long output);
+ [RaisesException] void connect(AudioNode? destination, optional unsigned long output, optional unsigned long input);
+ [RaisesException] void connect(AudioParam destination, optional unsigned long output);
+ [RaisesException] void disconnect(optional unsigned long output);
readonly attribute AudioContext context;
readonly attribute unsigned long numberOfInputs;
readonly attribute unsigned long numberOfOutputs;
« no previous file with comments | « Source/modules/serviceworkers/Headers.cpp ('k') | Source/modules/websockets/DOMWebSocket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698