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

Unified Diff: third_party/WebKit/Source/platform/audio/ReverbConvolver.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/ReverbConvolver.cpp
diff --git a/third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp b/third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp
index e5f1a2e1d0c650f84420568924112cd6f0af398d..22ed564b3d713e0c03c466130618b2c26225470a 100644
--- a/third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp
+++ b/third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp
@@ -137,9 +137,10 @@ ReverbConvolver::ReverbConvolver(AudioChannel* impulse_response,
// Start up background thread
// FIXME: would be better to up the thread priority here. It doesn't need to
// be real-time, but higher than the default...
- if (use_background_threads && background_stages_.size() > 0)
- background_thread_ = WTF::WrapUnique(Platform::Current()->CreateThread(
- "Reverb convolution background thread"));
+ if (use_background_threads && background_stages_.size() > 0) {
+ background_thread_ = Platform::Current()->CreateThread(
+ "Reverb convolution background thread");
+ }
}
ReverbConvolver::~ReverbConvolver() {

Powered by Google App Engine
This is Rietveld 408576698