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

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

Issue 2386303002: Expose BaseAudioContext prototype (Closed)
Patch Set: fixed cross-origin-objects Created 4 years, 1 month 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/AudioContext.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioContext.idl b/third_party/WebKit/Source/modules/webaudio/AudioContext.idl
index 4fb8b876cab9993f80fc4816376d77022fad8e5c..00ddd911b6bc85416ae3101dc8f41580892810cf 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioContext.idl
+++ b/third_party/WebKit/Source/modules/webaudio/AudioContext.idl
@@ -33,7 +33,7 @@
NoInterfaceObject,
RaisesException=Constructor,
] interface AudioContext : BaseAudioContext {
- // Close
+ [MeasureAs=AudioContextSuspend, CallWith=ScriptState, ImplementedAs=suspendContext] Promise<void> suspend();
[MeasureAs=AudioContextClose, CallWith=ScriptState, ImplementedAs=closeContext] Promise<void> close();
// Sources

Powered by Google App Engine
This is Rietveld 408576698