diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 23:56:18 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 23:56:18 +0000 |
commit | b969648e443de8c767d7e2f6b34861b4a1ee3eec (patch) | |
tree | b41dea85b620d7664038e2583614745bc4be6fae /chrome/browser/browser_main_win.cc | |
parent | f0a94b593178cfe95dd16424cca6a0144de0d440 (diff) | |
download | chromium_src-b969648e443de8c767d7e2f6b34861b4a1ee3eec.zip chromium_src-b969648e443de8c767d7e2f6b34861b4a1ee3eec.tar.gz chromium_src-b969648e443de8c767d7e2f6b34861b4a1ee3eec.tar.bz2 |
windows: remove PathService::Get() that uses wstrings
This just required fixing the remaining callers.
BUG=24672
Review URL: http://codereview.chromium.org/5356008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67783 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main_win.cc')
-rw-r--r-- | chrome/browser/browser_main_win.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/browser_main_win.cc b/chrome/browser/browser_main_win.cc index f4f9a59..e4b52da 100644 --- a/chrome/browser/browser_main_win.cc +++ b/chrome/browser/browser_main_win.cc @@ -178,8 +178,9 @@ int HandleIconsCommands(const CommandLine &parsed_command_line) { bool CheckMachineLevelInstall() { scoped_ptr<installer::Version> version(InstallUtil::GetChromeVersion(true)); if (version.get()) { - std::wstring exe; - PathService::Get(base::DIR_EXE, &exe); + FilePath exe_path; + PathService::Get(base::DIR_EXE, &exe_path); + std::wstring exe = exe_path.value(); std::transform(exe.begin(), exe.end(), exe.begin(), tolower); std::wstring user_exe_path = installer::GetChromeInstallPath(false); std::transform(user_exe_path.begin(), user_exe_path.end(), |