Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / command_unittest.cc
index 795fb03..4a29ff8 100644 (file)
@@ -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);
 }