| Index: webrtc/voice_engine/test/auto_test/voe_stress_test.cc
|
| diff --git a/webrtc/voice_engine/test/auto_test/voe_stress_test.cc b/webrtc/voice_engine/test/auto_test/voe_stress_test.cc
|
| index 91b39ebd22ef01a95206fa1aa70dbadaea75c636..259eff0ccc6e37e8e38d7c3000c085d6e67f2341 100644
|
| --- a/webrtc/voice_engine/test/auto_test/voe_stress_test.cc
|
| +++ b/webrtc/voice_engine/test/auto_test/voe_stress_test.cc
|
| @@ -334,9 +334,9 @@ int VoEStressTest::MultipleThreadsTest() {
|
| int rnd(0);
|
|
|
| // Start extra thread
|
| - _ptrExtraApiThread = PlatformThread::CreateThread(RunExtraApi, this,
|
| - "StressTestExtraApiThread");
|
| - VALIDATE_STRESS(!_ptrExtraApiThread->Start());
|
| + _ptrExtraApiThread.reset(
|
| + new rtc::PlatformThread(RunExtraApi, this, "StressTestExtraApiThread"));
|
| + _ptrExtraApiThread->Start();
|
|
|
| // Some possible extensions include:
|
| // Add more API calls to randomize
|
| @@ -365,7 +365,7 @@ int VoEStressTest::MultipleThreadsTest() {
|
| ANL();
|
|
|
| // Stop extra thread
|
| - VALIDATE_STRESS(!_ptrExtraApiThread->Stop());
|
| + _ptrExtraApiThread->Stop();
|
|
|
| ///////////// End test /////////////
|
|
|
|
|