| Index: chrome/browser/browser_main_win.cc
|
| ===================================================================
|
| --- chrome/browser/browser_main_win.cc (revision 73979)
|
| +++ chrome/browser/browser_main_win.cc (working copy)
|
| @@ -194,9 +194,9 @@
|
| const string16 caption = l10n_util::GetStringUTF16(IDS_PRODUCT_NAME);
|
| const UINT flags = MB_OK | MB_ICONERROR | MB_TOPMOST;
|
| ui::MessageBox(NULL, text, caption, flags);
|
| - FilePath uninstall_path(InstallUtil::GetChromeUninstallCmd(false, dist));
|
| - CommandLine uninstall_cmd(uninstall_path);
|
| - if (!uninstall_cmd.GetProgram().value().empty()) {
|
| + CommandLine uninstall_cmd(
|
| + InstallUtil::GetChromeUninstallCmd(false, dist->GetType()));
|
| + if (!uninstall_cmd.GetProgram().empty()) {
|
| uninstall_cmd.AppendSwitch(installer::switches::kForceUninstall);
|
| uninstall_cmd.AppendSwitch(
|
| installer::switches::kDoNotRemoveSharedItems);
|
|
|