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

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

Issue 2345693002: Move close() from BaseAudioContext to AudioContext (Closed)
Patch Set: Update expected results Created 4 years, 3 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/AudioContext.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioContext.idl b/third_party/WebKit/Source/modules/webaudio/AudioContext.idl
index 2115f226538607ffe8b6276d82d4874c4ee4fa4c..891c601d1a856a69110cb52262ea2196647c5574 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioContext.idl
+++ b/third_party/WebKit/Source/modules/webaudio/AudioContext.idl
@@ -31,6 +31,9 @@
NoInterfaceObject,
RaisesException=Constructor,
] interface AudioContext : BaseAudioContext {
+ // Close
+ [MeasureAs=AudioContextClose, CallWith=ScriptState, ImplementedAs=closeContext] Promise<void> close();
+
// Sources
// TODO(rtoy): The following methods should be here instead of in BaseAudioContext:
//

Powered by Google App Engine
This is Rietveld 408576698