Delete deprecated rtc::Thread default constructor

Bug: None
Change-Id: Ic0e2e94b174a49e5d20ebdea90568473e1b71d62
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/134640
Reviewed-by: Tommi <tommi@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27958}
This commit is contained in:
Niels Möller
2019-04-30 11:45:58 +02:00
committed by Commit Bot
parent 198cf00532
commit fdd6d3e46e
5 changed files with 9 additions and 15 deletions

View File

@ -122,9 +122,9 @@ bool SimplePeerConnection::InitializePeerConnection(const char** turn_urls,
RTC_DCHECK(peer_connection_.get() == nullptr);
if (g_peer_connection_factory == nullptr) {
g_worker_thread.reset(new rtc::Thread());
g_worker_thread = rtc::Thread::Create();
g_worker_thread->Start();
g_signaling_thread.reset(new rtc::Thread());
g_signaling_thread = rtc::Thread::Create();
g_signaling_thread->Start();
g_peer_connection_factory = webrtc::CreatePeerConnectionFactory(