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:
@ -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(
|
||||
|
||||
Reference in New Issue
Block a user