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

Unified Diff: components/url_matcher/url_matcher_factory_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/url_matcher/url_matcher_factory_unittest.cc
diff --git a/components/url_matcher/url_matcher_factory_unittest.cc b/components/url_matcher/url_matcher_factory_unittest.cc
index e2871564d67edd8661792b0e8bc58294e87fd265..c2fc71be4e23421bbd30f149b25365a7ef6b930a 100644
--- a/components/url_matcher/url_matcher_factory_unittest.cc
+++ b/components/url_matcher/url_matcher_factory_unittest.cc
@@ -330,7 +330,7 @@ TEST(URLMatcherFactoryTest, CaseSensitivity) {
kIsUrlCaseSensitive, kIsUrlLowerCaseEnforced, url),
};
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(case_tests); ++i) {
+ for (size_t i = 0; i < arraysize(case_tests); ++i) {
SCOPED_TRACE(base::StringPrintf("Iteration: %" PRIuS, i));
case_tests[i].Test();
}
« no previous file with comments | « components/signin/core/browser/signin_error_controller_unittest.cc ('k') | components/variations/metrics_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698