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

Unified Diff: third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp

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
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
index 0a5699da99a0a795ead0eb89edbf14531c76573d..a252391c32fcfb952cfe10204308399f242b5a87 100644
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
@@ -199,15 +199,6 @@ ScriptPromise OfflineAudioContext::startOfflineRendering(ScriptState* scriptStat
return m_completeResolver->promise();
}
-ScriptPromise OfflineAudioContext::closeContext(ScriptState* scriptState)
-{
- return ScriptPromise::rejectWithDOMException(
- scriptState,
- DOMException::create(
- InvalidAccessError,
- "cannot close an OfflineAudioContext."));
-}
-
ScriptPromise OfflineAudioContext::suspendContext(ScriptState* scriptState)
{
// This CANNOT be called on OfflineAudioContext; this is only to implement
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698