Index: components/search_engines/template_url_service_sync_unittest.cc |
diff --git a/components/search_engines/template_url_service_sync_unittest.cc b/components/search_engines/template_url_service_sync_unittest.cc |
index 0b3f8827e5aa29dd664b8905599cdcae8c8f064d..27eb921607ee089253a7feddebf6e3d8a0b1877a 100644 |
--- a/components/search_engines/template_url_service_sync_unittest.cc |
+++ b/components/search_engines/template_url_service_sync_unittest.cc |
@@ -482,7 +482,7 @@ TEST_F(TemplateURLServiceSyncTest, IsLocalTemplateURLBetter) { |
{100, 100, false, false, false}, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); ++i) { |
+ for (size_t i = 0; i < arraysize(test_cases); ++i) { |
TemplateURL* local_turl = CreateTestTemplateURL( |
ASCIIToUTF16("localkey"), "www.local.com", "localguid", |
test_cases[i].local_time, true, test_cases[i].local_created_by_policy); |
@@ -1975,7 +1975,7 @@ TEST_F(TemplateURLServiceSyncTest, MergeInSyncTemplateURL) { |
{NEITHER, SYNC, NEITHER, NEITHER, BOTH, false, {1, 0, 0}}, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); ++i) { |
+ for (size_t i = 0; i < arraysize(test_cases); ++i) { |
// Assert all the valid states of ExpectedTemplateURLs. |
ASSERT_FALSE(test_cases[i].conflict_winner == BOTH); |
ASSERT_FALSE(test_cases[i].synced_at_start == NEITHER); |