summaryrefslogtreecommitdiffstats
path: root/base/metrics/histogram.cc
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-16 22:38:49 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-16 22:38:49 +0000
commit32e13a4845ed1a14a2e169128fd3414fd20d8a6a (patch)
treedbaf0e338270e12d018f6a37a8019a88c989941a /base/metrics/histogram.cc
parent6f0e5632d7000eac113423c26167e88d199db7ea (diff)
downloadchromium_src-32e13a4845ed1a14a2e169128fd3414fd20d8a6a.zip
chromium_src-32e13a4845ed1a14a2e169128fd3414fd20d8a6a.tar.gz
chromium_src-32e13a4845ed1a14a2e169128fd3414fd20d8a6a.tar.bz2
Remove DCHECK on overflow
This was getting in the way of debugging a more complex problem, and the entire value should probably be removed RSN. For now, we won't DCHECK when it goes negative. R=CPU Review URL: http://codereview.chromium.org/6672061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78451 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/metrics/histogram.cc')
-rw-r--r--base/metrics/histogram.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/base/metrics/histogram.cc b/base/metrics/histogram.cc
index 1d6f884..cbb8ce33 100644
--- a/base/metrics/histogram.cc
+++ b/base/metrics/histogram.cc
@@ -686,7 +686,6 @@ void Histogram::SampleSet::Accumulate(Sample value, Count count,
redundant_count_ += count;
DCHECK_GE(counts_[index], 0);
DCHECK_GE(sum_, 0);
- DCHECK_GE(square_sum_, 0);
DCHECK_GE(redundant_count_, 0);
}