Uncomment thread-checkers in ChannelProxy
The thread-check should be pass unit-tests, following https://codereview.webrtc.org/2998923002/. BUG=webrtc:7405 TBR=stefan@webrtc.org Review-Url: https://codereview.webrtc.org/2995243002 Cr-Commit-Position: refs/heads/master@{#19510}
This commit is contained in:
parent
151aa6b3f7
commit
27e812e369
@ -319,17 +319,13 @@ bool ChannelProxy::GetRecCodec(CodecInst* codec_inst) const {
|
||||
}
|
||||
|
||||
void ChannelProxy::OnTwccBasedUplinkPacketLossRate(float packet_loss_rate) {
|
||||
// TODO(eladalon): This fails in UT; fix and uncomment.
|
||||
// See: https://bugs.chromium.org/p/webrtc/issues/detail?id=7405
|
||||
// RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
|
||||
RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
|
||||
channel()->OnTwccBasedUplinkPacketLossRate(packet_loss_rate);
|
||||
}
|
||||
|
||||
void ChannelProxy::OnRecoverableUplinkPacketLossRate(
|
||||
float recoverable_packet_loss_rate) {
|
||||
// TODO(eladalon): This fails in UT; fix and uncomment.
|
||||
// See: https://bugs.chromium.org/p/webrtc/issues/detail?id=7405
|
||||
// RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
|
||||
RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
|
||||
channel()->OnRecoverableUplinkPacketLossRate(recoverable_packet_loss_rate);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user