Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: base/metrics/bucket_ranges.cc

Issue 10857025: Add more code for debugging. We will revert this change when we find out the reason of corruption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/metrics/histogram.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/bucket_ranges.cc
===================================================================
--- base/metrics/bucket_ranges.cc (revision 151415)
+++ base/metrics/bucket_ranges.cc (working copy)
@@ -103,7 +103,7 @@
void BucketRanges::set_range(size_t i, HistogramBase::Sample value) {
DCHECK_LT(i, ranges_.size());
- DCHECK_GE(value, 0);
+ CHECK_GE(value, 0);
ranges_[i] = value;
}
« no previous file with comments | « no previous file | base/metrics/histogram.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698