Index: base/strings/utf_string_conversions_unittest.cc |
diff --git a/base/strings/utf_string_conversions_unittest.cc b/base/strings/utf_string_conversions_unittest.cc |
index 08009c4f3823304eddd9b3bf58383168393d48a9..009af7c4f53a356e338584ae7b13f74a176db254 100644 |
--- a/base/strings/utf_string_conversions_unittest.cc |
+++ b/base/strings/utf_string_conversions_unittest.cc |
@@ -94,7 +94,7 @@ TEST(UTFStringConversionsTest, ConvertUTF8ToWide) { |
#endif |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(convert_cases); i++) { |
+ for (size_t i = 0; i < arraysize(convert_cases); i++) { |
std::wstring converted; |
EXPECT_EQ(convert_cases[i].success, |
UTF8ToWide(convert_cases[i].utf8, |
@@ -172,7 +172,7 @@ TEST(UTFStringConversionsTest, ConvertUTF32ToUTF8) { |
{L"\xdc01Hello", "\xef\xbf\xbdHello", false}, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(convert_cases); i++) { |
+ for (size_t i = 0; i < arraysize(convert_cases); i++) { |
std::string converted; |
EXPECT_EQ(convert_cases[i].success, |
WideToUTF8(convert_cases[i].utf32, |