| 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 0a2963e9ae6fb0c4a63591e3cc3341f846ab1b6e..bb7686c6c18b44ed74d851fe04ab1e40dbd2555b 100644
|
| --- a/webrtc/modules/audio_device/test/func_test_manager.cc
|
| +++ b/webrtc/modules/audio_device/test/func_test_manager.cc
|
| @@ -594,8 +594,8 @@ FuncTestManager::~FuncTestManager()
|
|
|
| int32_t FuncTestManager::Init()
|
| {
|
| - EXPECT_TRUE((_processThread = ProcessThread::Create("ProcessThread")) !=
|
| - NULL);
|
| + EXPECT_TRUE((_processThread = rtc::ScopedToUnique(
|
| + ProcessThread::Create("ProcessThread"))) != NULL);
|
| if (_processThread == NULL)
|
| {
|
| return -1;
|
| @@ -832,8 +832,8 @@ int32_t FuncTestManager::TestAudioLayerSelection()
|
| // ==================================================
|
| // Next, try to make fresh start with new audio layer
|
|
|
| - EXPECT_TRUE((_processThread = ProcessThread::Create("ProcessThread")) !=
|
| - NULL);
|
| + EXPECT_TRUE((_processThread = rtc::ScopedToUnique(
|
| + ProcessThread::Create("ProcessThread"))) != NULL);
|
| if (_processThread == NULL)
|
| {
|
| return -1;
|
|
|