Index: components/autofill/core/browser/autofill_regexes_unittest.cc |
diff --git a/components/autofill/core/browser/autofill_regexes_unittest.cc b/components/autofill/core/browser/autofill_regexes_unittest.cc |
index fc95c44f51d9e9867347c379358e677e529ea2f6..d77afa79446b31f1206fdc589f01672165debdb3 100644 |
--- a/components/autofill/core/browser/autofill_regexes_unittest.cc |
+++ b/components/autofill/core/browser/autofill_regexes_unittest.cc |
@@ -34,7 +34,7 @@ TEST(AutofillRegexesTest, AutofillRegexes) { |
// Case-insensitive |
{"StRiNg", "string"}, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kPositiveCases); ++i) { |
+ for (size_t i = 0; i < arraysize(kPositiveCases); ++i) { |
const TestCase& test_case = kPositiveCases[i]; |
SCOPED_TRACE(test_case.input); |
SCOPED_TRACE(test_case.pattern); |
@@ -54,7 +54,7 @@ TEST(AutofillRegexesTest, AutofillRegexes) { |
{"string", "ring "}, |
{"string", "rin$"}, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kNegativeCases); ++i) { |
+ for (size_t i = 0; i < arraysize(kNegativeCases); ++i) { |
const TestCase& test_case = kNegativeCases[i]; |
SCOPED_TRACE(test_case.input); |
SCOPED_TRACE(test_case.pattern); |