summaryrefslogtreecommitdiff
path: root/app/webrtc/test/peerconnectiontestwrapper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/webrtc/test/peerconnectiontestwrapper.cc')
-rw-r--r--app/webrtc/test/peerconnectiontestwrapper.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/webrtc/test/peerconnectiontestwrapper.cc b/app/webrtc/test/peerconnectiontestwrapper.cc
index 8a4f45c..24932b8 100644
--- a/app/webrtc/test/peerconnectiontestwrapper.cc
+++ b/app/webrtc/test/peerconnectiontestwrapper.cc
@@ -75,9 +75,8 @@ bool PeerConnectionTestWrapper::CreatePc(
return false;
}
- audio_thread_.Start();
fake_audio_capture_module_ = FakeAudioCaptureModule::Create(
- &audio_thread_);
+ rtc::Thread::Current());
if (fake_audio_capture_module_ == NULL) {
return false;
}