Index: chrome/common/extensions/command_unittest.cc |
diff --git a/chrome/common/extensions/command_unittest.cc b/chrome/common/extensions/command_unittest.cc |
index 795fb03f4f27d6855d23ac4acc445e3bfcac42d2..4a29ff8006334812ab54e101df94bf8c75cd19ab 100644 |
--- a/chrome/common/extensions/command_unittest.cc |
+++ b/chrome/common/extensions/command_unittest.cc |
@@ -191,7 +191,7 @@ TEST(CommandTest, ExtensionCommandParsing) { |
all_platforms.push_back("mac"); |
all_platforms.push_back("windows"); |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTests); ++i) |
+ for (size_t i = 0; i < arraysize(kTests); ++i) |
CheckParse(kTests[i], i, false, all_platforms); |
} |
@@ -293,7 +293,7 @@ TEST(CommandTest, ExtensionCommandParsingPlatformSpecific) { |
std::vector<std::string> chromeos; |
chromeos.push_back("chromeos"); |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kChromeOsTests); ++i) |
+ for (size_t i = 0; i < arraysize(kChromeOsTests); ++i) |
CheckParse(kChromeOsTests[i], i, true, chromeos); |
ConstCommandsTestData kNonChromeOsSearchTests[] = { |
@@ -305,6 +305,6 @@ TEST(CommandTest, ExtensionCommandParsingPlatformSpecific) { |
non_chromeos.push_back("mac"); |
non_chromeos.push_back("linux"); |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kNonChromeOsSearchTests); ++i) |
+ for (size_t i = 0; i < arraysize(kNonChromeOsSearchTests); ++i) |
CheckParse(kNonChromeOsSearchTests[i], i, true, non_chromeos); |
} |