diff options
author | gwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 02:56:15 +0000 |
---|---|---|
committer | gwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 02:56:15 +0000 |
commit | 6dd72b0e175e27c261ff887e1f760649d8665136 (patch) | |
tree | c2a81be5f6b7b41425a173f4685d65e3d80806d1 /chrome/browser/first_run.cc | |
parent | 1fdb7a82e03355bb9402a706a4e5e3c3ae9227e6 (diff) | |
download | chromium_src-6dd72b0e175e27c261ff887e1f760649d8665136.zip chromium_src-6dd72b0e175e27c261ff887e1f760649d8665136.tar.gz chromium_src-6dd72b0e175e27c261ff887e1f760649d8665136.tar.bz2 |
Modifies LaunchSetupWithParam to properly append the kInstallerDir and kSetupExe constants to the executable path.
Review URL: http://codereview.chromium.org/19493
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8949 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/first_run.cc')
-rwxr-xr-x | chrome/browser/first_run.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/first_run.cc b/chrome/browser/first_run.cc index ec747a2..da69a35 100755 --- a/chrome/browser/first_run.cc +++ b/chrome/browser/first_run.cc @@ -119,8 +119,8 @@ bool LaunchSetupWithParam(const std::wstring& param, int* ret_code) { FilePath exe_path; if (!PathService::Get(base::DIR_MODULE, &exe_path)) return false; - exe_path.Append(installer_util::kInstallerDir); - exe_path.Append(installer_util::kSetupExe); + exe_path = exe_path.Append(installer_util::kInstallerDir); + exe_path = exe_path.Append(installer_util::kSetupExe); base::ProcessHandle ph; CommandLine cl(exe_path.ToWStringHack()); cl.AppendSwitch(param); |