| Index: chrome/installer/util/shell_util.cc
|
| diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
|
| index 1c90453fc4f886210a61ff6496dc62a51fa1be03..8d4e6434d74ad9620375f6ad886a03e0e07d7d77 100644
|
| --- a/chrome/installer/util/shell_util.cc
|
| +++ b/chrome/installer/util/shell_util.cc
|
| @@ -785,7 +785,7 @@ bool ShellUtil::UpdateChromeShortcut(BrowserDistribution* dist,
|
| const std::wstring& shortcut,
|
| const std::wstring& description,
|
| bool create_new) {
|
| - std::wstring chrome_path = file_util::GetDirectoryFromPath(chrome_exe);
|
| + std::wstring chrome_path = FilePath(chrome_exe).DirName().value();
|
|
|
| FilePath prefs_path(chrome_path);
|
| prefs_path = prefs_path.AppendASCII(installer::kDefaultMasterPrefs);
|
|
|