diff options
Diffstat (limited to 'chrome/installer/util/shell_util.cc')
-rw-r--r-- | chrome/installer/util/shell_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc index 1c90453..8d4e643 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); |