| Index: third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
|
| diff --git a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
|
| index c9b04375ca8b3e455f9dc38d3d84aaebbc158ab7..ee0effe7372767a7ccbb4b23d80bfba8662be8ed 100644
|
| --- a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
|
| +++ b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
|
| @@ -95,7 +95,8 @@
|
| DCHECK(!thread_);
|
|
|
| // Start the asynchronous database loading process.
|
| - thread_ = Platform::Current()->CreateThread("HRTF database loader");
|
| + thread_ = WTF::WrapUnique(
|
| + Platform::Current()->CreateThread("HRTF database loader"));
|
| // TODO(alexclarke): Should this be posted as a loading task?
|
| thread_->GetWebTaskRunner()->PostTask(
|
| BLINK_FROM_HERE, CrossThreadBind(&HRTFDatabaseLoader::LoadTask,
|
|
|