| Index: chrome/browser/shell_integration_linux_unittest.cc
|
| diff --git a/chrome/browser/shell_integration_linux_unittest.cc b/chrome/browser/shell_integration_linux_unittest.cc
|
| index 051b566eda09029078f0d61174803a576b5e363b..c2471f283e66b89084402c7ceae84a54557e4f6e 100644
|
| --- a/chrome/browser/shell_integration_linux_unittest.cc
|
| +++ b/chrome/browser/shell_integration_linux_unittest.cc
|
| @@ -417,7 +417,7 @@ TEST(ShellIntegrationTest, GetWebShortcutFilename) {
|
| { FPL("http___foo_.desktop"), "http://foo/bar/././../baz/././../" },
|
| { FPL("http___.._.desktop"), "http://../../../../" },
|
| };
|
| - for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); i++) {
|
| + for (size_t i = 0; i < arraysize(test_cases); i++) {
|
| EXPECT_EQ(std::string(chrome::kBrowserProcessExecutableName) + "-" +
|
| test_cases[i].path,
|
| GetWebShortcutFilename(GURL(test_cases[i].url)).value()) <<
|
| @@ -556,7 +556,7 @@ TEST(ShellIntegrationTest, GetDesktopFileContents) {
|
| },
|
| };
|
|
|
| - for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); i++) {
|
| + for (size_t i = 0; i < arraysize(test_cases); i++) {
|
| SCOPED_TRACE(i);
|
| EXPECT_EQ(
|
| test_cases[i].expected_output,
|
| @@ -631,7 +631,7 @@ TEST(ShellIntegrationTest, GetDirectoryFileContents) {
|
| },
|
| };
|
|
|
| - for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); i++) {
|
| + for (size_t i = 0; i < arraysize(test_cases); i++) {
|
| SCOPED_TRACE(i);
|
| EXPECT_EQ(test_cases[i].expected_output,
|
| GetDirectoryFileContents(base::ASCIIToUTF16(test_cases[i].title),
|
|
|