Index: chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc |
diff --git a/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc b/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc |
index 242723b38c02e8bec7b90fbf4fbc0976d355f3ae..922c21ca1a4e6ae2031fa859f3be3a681c0b1340 100644 |
--- a/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc |
+++ b/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc |
@@ -58,7 +58,7 @@ TEST_F(SpellcheckMacTest, IgnoreWords_EN_US) { |
"noooen", |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { |
+ for (size_t i = 0; i < arraysize(kTestCases); ++i) { |
const base::string16 word(base::ASCIIToUTF16(kTestCases[i])); |
const int doc_tag = spellcheck_mac::GetDocumentTag(); |
@@ -356,7 +356,7 @@ TEST_F(SpellcheckMacTest, SpellCheckSuggestions_EN_US) { |
{"writting", "writing"}, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { |
+ for (size_t i = 0; i < arraysize(kTestCases); ++i) { |
const base::string16 word(base::ASCIIToUTF16(kTestCases[i].input)); |
EXPECT_FALSE(spellcheck_mac::CheckSpelling(word, 0)) << word; |