| Index: chrome/browser/web_applications/web_app_mac_unittest.mm
|
| diff --git a/chrome/browser/web_applications/web_app_mac_unittest.mm b/chrome/browser/web_applications/web_app_mac_unittest.mm
|
| index 03907b3d5ba9a09b0e91114bdf059afccc991655..562d933b0f2418ae3ef23d8654cd374a6e1acd37 100644
|
| --- a/chrome/browser/web_applications/web_app_mac_unittest.mm
|
| +++ b/chrome/browser/web_applications/web_app_mac_unittest.mm
|
| @@ -86,8 +86,8 @@ class WebAppShortcutCreatorTest : public testing::Test {
|
|
|
| EXPECT_TRUE(temp_app_data_dir_.CreateUniqueTempDir());
|
| EXPECT_TRUE(temp_destination_dir_.CreateUniqueTempDir());
|
| - app_data_dir_ = temp_app_data_dir_.path();
|
| - destination_dir_ = temp_destination_dir_.path();
|
| + app_data_dir_ = temp_app_data_dir_.GetPath();
|
| + destination_dir_ = temp_destination_dir_.GetPath();
|
|
|
| info_ = GetShortcutInfo();
|
| shim_base_name_ = base::FilePath(info_->profile_path.BaseName().value() +
|
| @@ -158,7 +158,7 @@ TEST_F(WebAppShortcutCreatorTest, CreateShortcuts) {
|
| TEST_F(WebAppShortcutCreatorTest, UpdateShortcuts) {
|
| base::ScopedTempDir other_folder_temp_dir;
|
| EXPECT_TRUE(other_folder_temp_dir.CreateUniqueTempDir());
|
| - base::FilePath other_folder = other_folder_temp_dir.path();
|
| + base::FilePath other_folder = other_folder_temp_dir.GetPath();
|
| base::FilePath other_shim_path = other_folder.Append(shim_base_name_);
|
|
|
| NiceMock<WebAppShortcutCreatorMock> shortcut_creator(app_data_dir_,
|
| @@ -195,7 +195,7 @@ TEST_F(WebAppShortcutCreatorTest, UpdateShortcuts) {
|
| TEST_F(WebAppShortcutCreatorTest, UpdateBookmarkAppShortcut) {
|
| base::ScopedTempDir other_folder_temp_dir;
|
| EXPECT_TRUE(other_folder_temp_dir.CreateUniqueTempDir());
|
| - base::FilePath other_folder = other_folder_temp_dir.path();
|
| + base::FilePath other_folder = other_folder_temp_dir.GetPath();
|
| base::FilePath other_shim_path = other_folder.Append(shim_base_name_);
|
| info_->from_bookmark = true;
|
|
|
| @@ -228,7 +228,7 @@ TEST_F(WebAppShortcutCreatorTest, DeleteShortcuts) {
|
|
|
| base::ScopedTempDir other_folder_temp_dir;
|
| EXPECT_TRUE(other_folder_temp_dir.CreateUniqueTempDir());
|
| - base::FilePath other_folder = other_folder_temp_dir.path();
|
| + base::FilePath other_folder = other_folder_temp_dir.GetPath();
|
| base::FilePath other_shim_path = other_folder.Append(shim_base_name_);
|
|
|
| NiceMock<WebAppShortcutCreatorMock> shortcut_creator(app_data_dir_,
|
|
|