Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp

Issue 2859553002: Revert of [blink] Unique pointers in Platform.h (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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),

Powered by Google App Engine