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

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

Issue 2431653003: Add constructor for MediaStreamAudioSourceNode (Closed)
Patch Set: Created 4 years, 2 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/MediaStreamAudioSourceNode.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioSourceNode.idl b/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioSourceNode.idl
index 7f47885d2a4bd268a8b6b772ccdfc50be695050c..d056e1ab5e3d50a8c629f26dfa9ed384be400abc 100644
--- a/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioSourceNode.idl
+++ b/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioSourceNode.idl
@@ -24,6 +24,10 @@
*/
// See https://webaudio.github.io/web-audio-api/#MediaStreamAudioSourceNode
+[
+ Constructor(BaseAudioContext context, MediaStreamAudioSourceOptions options),
+ RaisesException=Constructor,
+]
interface MediaStreamAudioSourceNode : AudioSourceNode {
[ImplementedAs=getMediaStream] readonly attribute MediaStream mediaStream;
};

Powered by Google App Engine
This is Rietveld 408576698