Index: base/metrics/histogram_persistence.cc |
diff --git a/base/metrics/histogram_persistence.cc b/base/metrics/histogram_persistence.cc |
index 34b3100b8551a25fd463c7438d0c480c84120652..f18d17528354329cd4995615d2451f6a52c59302 100644 |
--- a/base/metrics/histogram_persistence.cc |
+++ b/base/metrics/histogram_persistence.cc |
@@ -244,12 +244,6 @@ |
// validated below; the local copy is to ensure that the contents cannot |
// be externally changed between validation and use. |
PersistentHistogramData histogram_data = *histogram_data_ptr; |
- CHECK_EQ(histogram_data.histogram_type, histogram_data_ptr->histogram_type); |
- CHECK_EQ(histogram_data.flags, histogram_data_ptr->flags); |
- CHECK_EQ(histogram_data.minimum, histogram_data_ptr->minimum); |
- CHECK_EQ(histogram_data.maximum, histogram_data_ptr->maximum); |
- CHECK_EQ(histogram_data.bucket_count, histogram_data_ptr->bucket_count); |
- CHECK_EQ(histogram_data.ranges_checksum, histogram_data_ptr->ranges_checksum); |
HistogramBase::Sample* ranges_data = |
allocator->GetAsObject<HistogramBase::Sample>(histogram_data.ranges_ref, |
@@ -294,8 +288,6 @@ |
HistogramBase::AtomicCount* logged_data = |
counts_data + histogram_data.bucket_count; |
- CHECK_LT(0, histogram_data.minimum); |
- CHECK_LT(0, histogram_data.maximum); |
std::string name(histogram_data_ptr->name); |
HistogramBase* histogram = nullptr; |
switch (histogram_data.histogram_type) { |