Index: components/metrics/metrics_hashes_unittest.cc |
diff --git a/components/metrics/metrics_hashes_unittest.cc b/components/metrics/metrics_hashes_unittest.cc |
index ce803d1696d39ac60d6028c42e29ea01c66bf41f..b949058d64bc9b46a38e74ae0db59a6067831266 100644 |
--- a/components/metrics/metrics_hashes_unittest.cc |
+++ b/components/metrics/metrics_hashes_unittest.cc |
@@ -21,7 +21,7 @@ TEST(MetricsUtilTest, HashMetricName) { |
{"NewTab", "0x290eb683f96572f1"}, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(cases); ++i) { |
+ for (size_t i = 0; i < arraysize(cases); ++i) { |
uint64 hash = HashMetricName(cases[i].input); |
std::string hash_hex = base::StringPrintf("0x%016" PRIx64, hash); |
EXPECT_EQ(cases[i].output, hash_hex); |