Index: third_party/WebKit/Source/modules/webaudio/AudioContext.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/AudioContext.cpp |
index 0522b8441337523cc796ba652ce99c5050f08af5..3ba837169a67f16031c31faad6e048cbb5266303 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AudioContext.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/AudioContext.cpp |
@@ -130,6 +130,15 @@ ScriptPromise AudioContext::resumeContext(ScriptState* scriptState) |
return promise; |
} |
+ScriptPromise AudioContext::suspendContext(ScriptState* scriptState, double suspendTime) |
+{ |
+ // This CANNOT be called on AudioContext; it is to implement the pure |
+ // virtual interface from AbstractAudioContext. |
+ RELEASE_ASSERT_NOT_REACHED(); |
+ |
+ return ScriptPromise(); |
Raymond Toy
2015/10/16 23:32:36
Although not reachable, maybe return a rejected pr
hongchan
2015/10/19 20:08:12
Done.
|
+} |
+ |
ScriptPromise AudioContext::closeContext(ScriptState* scriptState) |
{ |
if (isContextClosed()) { |