| Index: third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
|
| index 4a3ce4a6079ccb0acf52373023fb1c3f6a3e0c89..ee8e116d91221f7dcb4534f108262faa095c4565 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
|
| @@ -200,8 +200,8 @@ void OfflineAudioDestinationHandler::suspendOfflineRendering()
|
| ASSERT(!isMainThread());
|
|
|
| // The actual rendering has been suspended. Notify the context.
|
| - if (context()->executionContext()) {
|
| - context()->executionContext()->postTask(BLINK_FROM_HERE,
|
| + if (context()->getExecutionContext()) {
|
| + context()->getExecutionContext()->postTask(BLINK_FROM_HERE,
|
| createCrossThreadTask(&OfflineAudioDestinationHandler::notifySuspend, this));
|
| }
|
| }
|
| @@ -211,8 +211,8 @@ void OfflineAudioDestinationHandler::finishOfflineRendering()
|
| ASSERT(!isMainThread());
|
|
|
| // The actual rendering has been completed. Notify the context.
|
| - if (context()->executionContext()) {
|
| - context()->executionContext()->postTask(BLINK_FROM_HERE,
|
| + if (context()->getExecutionContext()) {
|
| + context()->getExecutionContext()->postTask(BLINK_FROM_HERE,
|
| createCrossThreadTask(&OfflineAudioDestinationHandler::notifyComplete, this));
|
| }
|
| }
|
|
|