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

Unified Diff: Source/modules/webaudio/AudioNode.idl

Issue 816453003: Replace [Default=Undefined] with per-spec syntax for AudioNode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 | « no previous file | no next file » | 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 74ac3404e19f52c0146e0bc6df930c5fae04c888..9ba9f6e5687e1bada273aa0fcd9f558af4bc25f2 100644
--- a/Source/modules/webaudio/AudioNode.idl
+++ b/Source/modules/webaudio/AudioNode.idl
@@ -40,9 +40,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 = 0, optional unsigned long input = 0);
+ [RaisesException] void connect(AudioParam destination, optional unsigned long output = 0);
+ [RaisesException] void disconnect(optional unsigned long output = 0);
readonly attribute AudioContext context;
readonly attribute unsigned long numberOfInputs;
readonly attribute unsigned long numberOfOutputs;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698