Chromium Code Reviews

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

Issue 2102133002: Add constructors for WebAudio nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update files to the right GN files. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/modules/webaudio/AudioBuffer.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBuffer.idl b/third_party/WebKit/Source/modules/webaudio/AudioBuffer.idl
index 09af23fc07c51f2b4fe9da975925d333376dc233..579b63ad715e58ef636817059b916f50b5785b64 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioBuffer.idl
+++ b/third_party/WebKit/Source/modules/webaudio/AudioBuffer.idl
@@ -27,6 +27,8 @@
*/
[
+ Constructor(AudioContext context, AudioBufferOptions options),
hongchan 2016/09/08 21:41:11 Same thing - this should be BaseAudioContext.
+ RaisesException=Constructor,
] interface AudioBuffer {
readonly attribute long length; // in sample-frames
readonly attribute double duration; // in seconds

Powered by Google App Engine