| Index: components/omnibox/autocomplete_result_unittest.cc
|
| diff --git a/components/omnibox/autocomplete_result_unittest.cc b/components/omnibox/autocomplete_result_unittest.cc
|
| index c04f14eb196a338df7bfb4758fff0b7d996db297..24bdf776f92e00426ffa0b9aa8699f8b5b91020e 100644
|
| --- a/components/omnibox/autocomplete_result_unittest.cc
|
| +++ b/components/omnibox/autocomplete_result_unittest.cc
|
| @@ -243,10 +243,9 @@ TEST_F(AutocompleteResultTest, CopyOldMatches) {
|
| { 1, 0, 399 },
|
| };
|
|
|
| - ASSERT_NO_FATAL_FAILURE(
|
| - RunCopyOldMatchesTest(last, ARRAYSIZE_UNSAFE(last),
|
| - current, ARRAYSIZE_UNSAFE(current),
|
| - result, ARRAYSIZE_UNSAFE(result)));
|
| + ASSERT_NO_FATAL_FAILURE(RunCopyOldMatchesTest(last, arraysize(last),
|
| + current, arraysize(current),
|
| + result, arraysize(result)));
|
| }
|
|
|
| // Tests that matches are copied correctly from two distinct providers.
|
| @@ -268,10 +267,9 @@ TEST_F(AutocompleteResultTest, CopyOldMatches2) {
|
| { 3, 1, 300 },
|
| };
|
|
|
| - ASSERT_NO_FATAL_FAILURE(
|
| - RunCopyOldMatchesTest(last, ARRAYSIZE_UNSAFE(last),
|
| - current, ARRAYSIZE_UNSAFE(current),
|
| - result, ARRAYSIZE_UNSAFE(result)));
|
| + ASSERT_NO_FATAL_FAILURE(RunCopyOldMatchesTest(last, arraysize(last),
|
| + current, arraysize(current),
|
| + result, arraysize(result)));
|
| }
|
|
|
| // Tests that matches with empty destination URLs aren't treated as duplicates
|
|
|