From 971c66c810276ce1b130613f59d2a621495b708c Mon Sep 17 00:00:00 2001 From: Tommi Date: Mon, 6 Apr 2020 20:23:36 +0200 Subject: [PATCH] Disable dcheck on linux Bug: webrtc:11490 Change-Id: I731daa08378e861aeb51da3b819e3c472a9cad9b No-Try: true Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/172937 Reviewed-by: Mirko Bonadei Commit-Queue: Tommi Cr-Commit-Position: refs/heads/master@{#31012} --- video/receive_statistics_proxy.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/video/receive_statistics_proxy.cc b/video/receive_statistics_proxy.cc index 223b94341d..5d16a7fb2f 100644 --- a/video/receive_statistics_proxy.cc +++ b/video/receive_statistics_proxy.cc @@ -652,7 +652,10 @@ void ReceiveStatisticsProxy::UpdateDecodeTimeHistograms( absl::optional ReceiveStatisticsProxy::GetCurrentEstimatedPlayoutNtpTimestampMs( int64_t now_ms) const { + // TODO(webrtc:11489): Update downstream tests. +#if !defined(WEBRTC_LINUX) RTC_DCHECK_RUN_ON(&main_thread_); +#endif if (!last_estimated_playout_ntp_timestamp_ms_ || !last_estimated_playout_time_ms_) { return absl::nullopt;