Index: components/autofill/core/browser/autofill_manager_unittest.cc |
diff --git a/components/autofill/core/browser/autofill_manager_unittest.cc b/components/autofill/core/browser/autofill_manager_unittest.cc |
index 8e2e1dfeb285dd6ad27ea6ed20657396c4b2c208..06cbd801d2e6ccf597adea3a5e190693cc43f2f8 100644 |
--- a/components/autofill/core/browser/autofill_manager_unittest.cc |
+++ b/components/autofill/core/browser/autofill_manager_unittest.cc |
@@ -1493,7 +1493,7 @@ TEST_F(AutofillManagerTest, GetProfileSuggestionsForPhonePrefixOrSuffix) { |
{"Phone Extension", "ext", 5, "tel-extension"}}; |
FormFieldData field; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_fields); ++i) { |
+ for (size_t i = 0; i < arraysize(test_fields); ++i) { |
test::CreateTestFormField( |
test_fields[i].label, test_fields[i].name, "", "text", &field); |
field.max_length = test_fields[i].max_length; |
@@ -2135,7 +2135,7 @@ TEST_F(AutofillManagerTest, FillPhoneNumber) { |
FormFieldData field; |
const size_t default_max_length = field.max_length; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_fields); ++i) { |
+ for (size_t i = 0; i < arraysize(test_fields); ++i) { |
test::CreateTestFormField( |
test_fields[i].label, test_fields[i].name, "", "text", &field); |
field.max_length = test_fields[i].max_length; |