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

Unified Diff: components/variations/metrics_util_unittest.cc

Issue 658993002: Convert ARRAYSIZE_UNSAFE -> arraysize in components/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: components/variations/metrics_util_unittest.cc
diff --git a/components/variations/metrics_util_unittest.cc b/components/variations/metrics_util_unittest.cc
index 4f324947176ec79b7830c9423abae991ea408476..46f50caca4f5e7f6653a755f2093cb29e726e8d3 100644
--- a/components/variations/metrics_util_unittest.cc
+++ b/components/variations/metrics_util_unittest.cc
@@ -24,7 +24,7 @@ TEST(MetricsUtilTest, HashName) {
{"0123456789ABCDEF", 348858318U}
};
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(known_hashes); ++i)
+ for (size_t i = 0; i < arraysize(known_hashes); ++i)
EXPECT_EQ(known_hashes[i].hash_value, HashName(known_hashes[i].name));
}
« no previous file with comments | « components/url_matcher/url_matcher_factory_unittest.cc ('k') | components/variations/study_filtering_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698