Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1073)

Unified Diff: third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp

Issue 2846843002: [blink] Unique pointers in Platform.h (Closed)
Patch Set: fix compilation (and again) Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ee0effe7372767a7ccbb4b23d80bfba8662be8ed..c9b04375ca8b3e455f9dc38d3d84aaebbc158ab7 100644
--- a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
+++ b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
@@ -95,8 +95,7 @@ void HRTFDatabaseLoader::LoadAsynchronously() {
DCHECK(!thread_);
// Start the asynchronous database loading process.
- thread_ = WTF::WrapUnique(
- Platform::Current()->CreateThread("HRTF database loader"));
+ thread_ = 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,

Powered by Google App Engine
This is Rietveld 408576698