Index: components/search_engines/template_url_fetcher_unittest.cc |
diff --git a/components/search_engines/template_url_fetcher_unittest.cc b/components/search_engines/template_url_fetcher_unittest.cc |
index 7ab8c9e9b400959bbfc4ec1e719008af2fa6c5b4..0a45406e534fdfe3ea24b4a65f813e494eb7149c 100644 |
--- a/components/search_engines/template_url_fetcher_unittest.cc |
+++ b/components/search_engines/template_url_fetcher_unittest.cc |
@@ -204,7 +204,7 @@ TEST_F(TemplateURLFetcherTest, DuplicatesThrownAway) { |
base::string16(), TemplateURLFetcher::EXPLICIT_PROVIDER }, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); ++i) { |
+ for (size_t i = 0; i < arraysize(test_cases); ++i) { |
StartDownload(test_cases[i].keyword, test_cases[i].osdd_file_name, |
test_cases[i].provider_type, false); |
ASSERT_EQ(1, template_url_fetcher()->requests_count()) |
@@ -213,7 +213,7 @@ TEST_F(TemplateURLFetcherTest, DuplicatesThrownAway) { |
} |
WaitForDownloadToFinish(); |
- ASSERT_EQ(1 + ARRAYSIZE_UNSAFE(test_cases), |
+ ASSERT_EQ(1 + arraysize(test_cases), |
static_cast<size_t>(callbacks_destroyed())); |
ASSERT_EQ(0, add_provider_called()); |
} |