Remove DCHECK from PeerConnectionFactory::worker_thread.

PeerConnection::SetBitrate calls PeerConnectionFactory::worker_thread
from multiple threads, so it was triggering the DCHECK. However, the
worker thread never changes after construction, so worker_thread should
be safe to call from multiple threads.

BUG=NONE

Review-Url: https://codereview.webrtc.org/2923953004
Cr-Commit-Position: refs/heads/master@{#18576}
This commit is contained in:
zstein 2017-06-13 15:01:49 -07:00 committed by Commit Bot
parent da4eba1e0a
commit 179f997307

View File

@ -374,7 +374,6 @@ rtc::Thread* PeerConnectionFactory::signaling_thread() {
}
rtc::Thread* PeerConnectionFactory::worker_thread() {
RTC_DCHECK(signaling_thread_->IsCurrent());
return worker_thread_;
}