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

Unified Diff: components/password_manager/core/browser/psl_matching_helper_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/password_manager/core/browser/psl_matching_helper_unittest.cc
diff --git a/components/password_manager/core/browser/psl_matching_helper_unittest.cc b/components/password_manager/core/browser/psl_matching_helper_unittest.cc
index fdc4708c7c5b19b3da339fd08811a0af8531a12c..fa9a4aaf0f234c2d3aeb1c5b1ef6038729c48832 100644
--- a/components/password_manager/core/browser/psl_matching_helper_unittest.cc
+++ b/components/password_manager/core/browser/psl_matching_helper_unittest.cc
@@ -42,7 +42,7 @@ TEST(PSLMatchingUtilsTest, IsPublicSuffixDomainMatch) {
{"http://www.example.com/%00", "http://www.example.com/%00", false},
};
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(pairs); ++i) {
+ for (size_t i = 0; i < arraysize(pairs); ++i) {
autofill::PasswordForm form1;
form1.signon_realm = pairs[i].url1;
autofill::PasswordForm form2;

Powered by Google App Engine
This is Rietveld 408576698