Index: base/metrics/histogram_unittest.cc |
diff --git a/base/metrics/histogram_unittest.cc b/base/metrics/histogram_unittest.cc |
index 02ed93ba0e25b177ddfdd0601655b6ec57d30b19..d89e7e93247d8b60896aa46b6bd4fa3dafe03b39 100644 |
--- a/base/metrics/histogram_unittest.cc |
+++ b/base/metrics/histogram_unittest.cc |
@@ -490,15 +490,15 @@ TEST_P(HistogramTest, CorruptSampleCounts) { |
EXPECT_EQ(2, snapshot->redundant_count()); |
EXPECT_EQ(2, snapshot->TotalCount()); |
- snapshot->counts_[3] += 100; // Sample count won't match redundant count. |
+ snapshot->counts()[3] += 100; // Sample count won't match redundant count. |
EXPECT_EQ(HistogramBase::COUNT_LOW_ERROR, |
histogram->FindCorruption(*snapshot)); |
- snapshot->counts_[2] -= 200; |
+ snapshot->counts()[2] -= 200; |
EXPECT_EQ(HistogramBase::COUNT_HIGH_ERROR, |
histogram->FindCorruption(*snapshot)); |
// But we can't spot a corruption if it is compensated for. |
- snapshot->counts_[1] += 100; |
+ snapshot->counts()[1] += 100; |
EXPECT_EQ(HistogramBase::NO_INCONSISTENCIES, |
histogram->FindCorruption(*snapshot)); |
} |