| Index: chrome/browser/extensions/api/developer_private/developer_private_api_unittest.cc
|
| diff --git a/chrome/browser/extensions/api/developer_private/developer_private_api_unittest.cc b/chrome/browser/extensions/api/developer_private/developer_private_api_unittest.cc
|
| index 508c7db0c2583325f80475923f7bc6f55bb1992e..9e2a741d401cc0f3345c8454a75c1b8df94b3e3b 100644
|
| --- a/chrome/browser/extensions/api/developer_private/developer_private_api_unittest.cc
|
| +++ b/chrome/browser/extensions/api/developer_private/developer_private_api_unittest.cc
|
| @@ -303,11 +303,12 @@ TEST_F(DeveloperPrivateApiUnitTest, DeveloperPrivatePackFunction) {
|
| base::ScopedTempDir temp_dir;
|
| ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
|
| base::FilePath root_path = data_dir().AppendASCII("good_unpacked");
|
| - ASSERT_TRUE(base::CopyDirectory(root_path, temp_dir.path(), true));
|
| + ASSERT_TRUE(base::CopyDirectory(root_path, temp_dir.GetPath(), true));
|
|
|
| - base::FilePath temp_root_path = temp_dir.path().Append(root_path.BaseName());
|
| - base::FilePath crx_path = temp_dir.path().AppendASCII("good_unpacked.crx");
|
| - base::FilePath pem_path = temp_dir.path().AppendASCII("good_unpacked.pem");
|
| + base::FilePath temp_root_path =
|
| + temp_dir.GetPath().Append(root_path.BaseName());
|
| + base::FilePath crx_path = temp_dir.GetPath().AppendASCII("good_unpacked.crx");
|
| + base::FilePath pem_path = temp_dir.GetPath().AppendASCII("good_unpacked.pem");
|
|
|
| EXPECT_FALSE(base::PathExists(crx_path))
|
| << "crx should not exist before the test is run!";
|
|
|