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..50e3d5b129e4fd05cffba268bda6c05c243dac46 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
@@ -46,8 +46,8 @@ |
AudioBuffer* render_target) |
: AudioDestinationHandler(node), |
render_target_(render_target), |
- render_thread_( |
- Platform::Current()->CreateThread("offline audio renderer")), |
+ render_thread_(WTF::WrapUnique( |
+ Platform::Current()->CreateThread("offline audio renderer"))), |
frames_processed_(0), |
frames_to_process_(0), |
is_rendering_started_(false), |