Revert "Disable dcheck on linux"

This reverts commit 971c66c810276ce1b130613f59d2a621495b708c.

Reason for revert: Speculative revert: breaks downstream project

Original change's description:
> 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 <mbonadei@webrtc.org>
> Commit-Queue: Tommi <tommi@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#31012}

TBR=mbonadei@webrtc.org,tommi@webrtc.org

Change-Id: I6bd026d65e307714a86f00e93a4ea8158b91592a
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:11490
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173084
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31017}
This commit is contained in:
Artem Titov
2020-04-07 18:13:13 +00:00
committed by Commit Bot
parent 12e2d4ddb2
commit 59ef6f0b58

View File

@ -652,10 +652,7 @@ void ReceiveStatisticsProxy::UpdateDecodeTimeHistograms(
absl::optional<int64_t>
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;