summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorcpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-27 01:58:03 +0000
committercpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-27 01:58:03 +0000
commitb98634fe1c7c035f224141d1a07a264d0d4577c3 (patch)
treeda0984f2008ca6d5203e66cf7b9c88b3948bae8c /chrome/installer
parent94a0d3d91b7200e66a4d23bb49b38cae7e74f7db (diff)
downloadchromium_src-b98634fe1c7c035f224141d1a07a264d0d4577c3.zip
chromium_src-b98634fe1c7c035f224141d1a07a264d0d4577c3.tar.gz
chromium_src-b98634fe1c7c035f224141d1a07a264d0d4577c3.tar.bz2
Fix mistake on spwaning setup again
- I mean to spawn setup.exe --flag but it does setup.exe --uninstall - sweet overloaded functions also let you shoot yourself in the foot BUG=b/1484308 TEST=see the bug Review URL: http://codereview.chromium.org/147253 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19452 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/google_chrome_distribution.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc
index 56e3808..970b786 100644
--- a/chrome/installer/util/google_chrome_distribution.cc
+++ b/chrome/installer/util/google_chrome_distribution.cc
@@ -97,8 +97,7 @@ int GetDirectoryWriteAgeInHours(const wchar_t* path) {
bool RelaunchSetup(const std::wstring& flag) {
CommandLine cmd_line(CommandLine::ForCurrentProcess()->program());
cmd_line.AppendSwitch(flag);
- return base::LaunchApp(InstallUtil::GetChromeUninstallCmd(false),
- false, false, NULL);
+ return base::LaunchApp(cmd_line, false, false, NULL);
}
} // namespace