Index: base/mac/mac_util_unittest.mm |
diff --git a/base/mac/mac_util_unittest.mm b/base/mac/mac_util_unittest.mm |
index aae40a6337270a102a8e36aa18c3c005b7a00188..6a1acb3c20ddcb89e1a6690413e050fabb67ea99 100644 |
--- a/base/mac/mac_util_unittest.mm |
+++ b/base/mac/mac_util_unittest.mm |
@@ -92,7 +92,7 @@ TEST_F(MacUtilTest, TestGetAppBundlePath) { |
{ "/Applications/Google Foo.app/bar/Foo Helper.app/quux/Foo Helper", |
"/Applications/Google Foo.app" }, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(valid_inputs); i++) { |
+ for (size_t i = 0; i < arraysize(valid_inputs); i++) { |
out = GetAppBundlePath(FilePath(valid_inputs[i].in)); |
EXPECT_FALSE(out.empty()) << "loop: " << i; |
EXPECT_STREQ(valid_inputs[i].expected_out, |