Index: webrtc/modules/rtp_rtcp/test/BWEStandAlone/TestLoadGenerator.cc |
diff --git a/webrtc/modules/rtp_rtcp/test/BWEStandAlone/TestLoadGenerator.cc b/webrtc/modules/rtp_rtcp/test/BWEStandAlone/TestLoadGenerator.cc |
index 236ceae9370fe117c2aa276b7d20bfc1600e0d48..a48ad2e6e4dd55e703df4528814cfed2ba305a37 100644 |
--- a/webrtc/modules/rtp_rtcp/test/BWEStandAlone/TestLoadGenerator.cc |
+++ b/webrtc/modules/rtp_rtcp/test/BWEStandAlone/TestLoadGenerator.cc |
@@ -76,12 +76,12 @@ int32_t TestLoadGenerator::Start (const char *threadName) |
_eventPtr = EventWrapper::Create(); |
- _genThread = |
- PlatformThread::CreateThread(SenderThreadFunction, this, threadName); |
+ _genThread.reset( |
+ new rtc::PlatformThread(SenderThreadFunction, this, threadName)); |
_running = true; |
_genThread->Start(); |
- _genThread->SetPriority(kRealtimePriority); |
+ _genThread->SetPriority(rtc::kRealtimePriority); |
return 0; |
} |