| 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 e35b087652e1663a338b77707488110927f8aae1..232664aad1482a3945ced0de54968ac3c68618ea 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
|
| @@ -46,8 +46,6 @@ OfflineAudioDestinationHandler::OfflineAudioDestinationHandler(
|
| AudioBuffer* render_target)
|
| : AudioDestinationHandler(node),
|
| render_target_(render_target),
|
| - render_thread_(
|
| - Platform::Current()->CreateThread("offline audio renderer")),
|
| frames_processed_(0),
|
| frames_to_process_(0),
|
| is_rendering_started_(false),
|
| @@ -138,6 +136,11 @@ size_t OfflineAudioDestinationHandler::CallbackBufferSize() const {
|
| NOTREACHED();
|
| return 0;
|
| }
|
| +
|
| +void OfflineAudioDestinationHandler::InitializeOfflineRenderThread() {
|
| + render_thread_ = Platform::Current()->CreateThread("offline audio renderer");
|
| +}
|
| +
|
| WebThread* OfflineAudioDestinationHandler::OfflineRenderThread() {
|
| DCHECK(render_thread_);
|
|
|
|
|