diff --git a/video/receive_statistics_proxy.cc b/video/receive_statistics_proxy.cc index 882bf71e83..223b94341d 100644 --- a/video/receive_statistics_proxy.cc +++ b/video/receive_statistics_proxy.cc @@ -769,7 +769,6 @@ void ReceiveStatisticsProxy::OnTimingFrameInfoUpdated( void ReceiveStatisticsProxy::RtcpPacketTypesCounterUpdated( uint32_t ssrc, const RtcpPacketTypeCounter& packet_counter) { -#if !defined(WEBRTC_LINUX) if (!worker_thread_->IsCurrent()) { // RtpRtcp::Configuration has a single RtcpPacketTypeCounterObserver and // that same configuration may be used for both receiver and sender @@ -792,7 +791,6 @@ void ReceiveStatisticsProxy::RtcpPacketTypesCounterUpdated( } RTC_DCHECK_RUN_ON(&main_thread_); -#endif rtc::CritScope lock(&crit_); if (stats_.ssrc != ssrc) return;