From 7b4c9db28a6f9a3b6fead21c9231468a9aa5df52 Mon Sep 17 00:00:00 2001 From: philipel Date: Tue, 8 Mar 2016 13:06:44 +0100 Subject: [PATCH] DCHECK fix for https://codereview.webrtc.org/1769113003/ TBR=stefan@webrtc.org BUG=webrtc:5514 Review URL: https://codereview.webrtc.org/1770373002 . Cr-Commit-Position: refs/heads/master@{#11905} --- webrtc/modules/video_coding/histogram.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/webrtc/modules/video_coding/histogram.cc b/webrtc/modules/video_coding/histogram.cc index 057e1f1db0..e07d50ba6f 100644 --- a/webrtc/modules/video_coding/histogram.cc +++ b/webrtc/modules/video_coding/histogram.cc @@ -25,7 +25,6 @@ Histogram::Histogram(size_t num_buckets, size_t max_num_values) { } void Histogram::Add(size_t value) { - RTC_DCHECK_GE(value, 0u); value = std::min(value, buckets_.size() - 1); if (index_ < values_.size()) { --buckets_[values_[index_]];