Index: base/i18n/number_formatting_unittest.cc |
diff --git a/base/i18n/number_formatting_unittest.cc b/base/i18n/number_formatting_unittest.cc |
index da6397df8aabc08cec1eff2a231719a8a1d7dc91..3b0718d454f399395cb20215cad5490b6e1fb7c8 100644 |
--- a/base/i18n/number_formatting_unittest.cc |
+++ b/base/i18n/number_formatting_unittest.cc |
@@ -27,7 +27,7 @@ TEST(NumberFormattingTest, FormatNumber) { |
{-42, "-42", "-42"}, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(cases); ++i) { |
+ for (size_t i = 0; i < arraysize(cases); ++i) { |
i18n::SetICUDefaultLocale("en"); |
testing::ResetFormatters(); |
EXPECT_EQ(cases[i].expected_english, |
@@ -72,7 +72,7 @@ TEST(NumberFormattingTest, FormatDouble) { |
{-42.7, 3, "-42.700", "-42,700"}, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(cases); ++i) { |
+ for (size_t i = 0; i < arraysize(cases); ++i) { |
i18n::SetICUDefaultLocale("en"); |
testing::ResetFormatters(); |
EXPECT_EQ(cases[i].expected_english, |