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

Unified Diff: third_party/WebKit/Source/modules/webaudio/GainOptions.idl

Issue 2760353002: Define default values for options dictionaries for WebAudio (Closed)
Patch Set: Rebase Created 3 years, 8 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
Index: third_party/WebKit/Source/modules/webaudio/GainOptions.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/GainOptions.idl b/third_party/WebKit/Source/modules/webaudio/GainOptions.idl
index 047d6cd3b90ba3b42984c28128bd88bed65f6449..65fb4fecb9279f4b99c73eaf53e880da91bd519f 100644
--- a/third_party/WebKit/Source/modules/webaudio/GainOptions.idl
+++ b/third_party/WebKit/Source/modules/webaudio/GainOptions.idl
@@ -4,5 +4,5 @@
// See https://webaudio.github.io/web-audio-api/#gainoptions
dictionary GainOptions : AudioNodeOptions {
- float gain;
+ float gain = 1;
};

Powered by Google App Engine
This is Rietveld 408576698