| Index: chrome/browser/shell_integration_linux.cc
|
| diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc
|
| index 19d0a37f1d7d3f9105b652dd6f46bd75664abbe7..30c6630bf78ea99adbcc724bcecebfef01ef9a0e 100644
|
| --- a/chrome/browser/shell_integration_linux.cc
|
| +++ b/chrome/browser/shell_integration_linux.cc
|
| @@ -283,8 +283,8 @@ std::string CreateShortcutIcon(const gfx::ImageFamily& icon_images,
|
| if (!temp_dir.CreateUniqueTempDir())
|
| return std::string();
|
|
|
| - base::FilePath temp_file_path = temp_dir.path().Append(
|
| - shortcut_filename.ReplaceExtension("png"));
|
| + base::FilePath temp_file_path =
|
| + temp_dir.GetPath().Append(shortcut_filename.ReplaceExtension("png"));
|
| std::string icon_name = temp_file_path.BaseName().RemoveExtension().value();
|
|
|
| for (gfx::ImageFamily::const_iterator it = icon_images.begin();
|
| @@ -386,7 +386,7 @@ bool CreateShortcutInApplicationsMenu(const base::FilePath& shortcut_filename,
|
|
|
| base::FilePath temp_directory_path;
|
| if (!directory_filename.empty()) {
|
| - temp_directory_path = temp_dir.path().Append(directory_filename);
|
| + temp_directory_path = temp_dir.GetPath().Append(directory_filename);
|
|
|
| int bytes_written = base::WriteFile(temp_directory_path,
|
| directory_contents.data(),
|
| @@ -396,7 +396,7 @@ bool CreateShortcutInApplicationsMenu(const base::FilePath& shortcut_filename,
|
| return false;
|
| }
|
|
|
| - base::FilePath temp_file_path = temp_dir.path().Append(shortcut_filename);
|
| + base::FilePath temp_file_path = temp_dir.GetPath().Append(shortcut_filename);
|
|
|
| int bytes_written = base::WriteFile(temp_file_path, contents.data(),
|
| contents.length());
|
|
|