| Index: webrtc/modules/audio_device/test/func_test_manager.cc
|
| diff --git a/webrtc/modules/audio_device/test/func_test_manager.cc b/webrtc/modules/audio_device/test/func_test_manager.cc
|
| index bb7686c6c18b44ed74d851fe04ab1e40dbd2555b..cc589653f7ca886fee273374a09ec398b17023ea 100644
|
| --- a/webrtc/modules/audio_device/test/func_test_manager.cc
|
| +++ b/webrtc/modules/audio_device/test/func_test_manager.cc
|
| @@ -594,11 +594,10 @@ FuncTestManager::~FuncTestManager()
|
|
|
| int32_t FuncTestManager::Init()
|
| {
|
| - EXPECT_TRUE((_processThread = rtc::ScopedToUnique(
|
| - ProcessThread::Create("ProcessThread"))) != NULL);
|
| - if (_processThread == NULL)
|
| - {
|
| - return -1;
|
| + EXPECT_TRUE((_processThread = ProcessThread::Create("ProcessThread")) !=
|
| + NULL);
|
| + if (_processThread == NULL) {
|
| + return -1;
|
| }
|
| _processThread->Start();
|
|
|
| @@ -832,8 +831,8 @@ int32_t FuncTestManager::TestAudioLayerSelection()
|
| // ==================================================
|
| // Next, try to make fresh start with new audio layer
|
|
|
| - EXPECT_TRUE((_processThread = rtc::ScopedToUnique(
|
| - ProcessThread::Create("ProcessThread"))) != NULL);
|
| + EXPECT_TRUE((_processThread = ProcessThread::Create("ProcessThread")) !=
|
| + NULL);
|
| if (_processThread == NULL)
|
| {
|
| return -1;
|
|
|