| Index: chrome/installer/setup/setup_main.cc
|
| diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc
|
| index 69efa0fbd4f6208adeec2cf14c633736b08a2c18..2e5d289709a69dad8faa7a34a493a3b70a1bcb2a 100644
|
| --- a/chrome/installer/setup/setup_main.cc
|
| +++ b/chrome/installer/setup/setup_main.cc
|
| @@ -430,8 +430,10 @@
|
| google_update::kRegRenameCmdField);
|
| }
|
| // old_chrome.exe is still in use in most cases, so ignore failures here.
|
| - install_list->AddDeleteTreeWorkItem(chrome_old_exe, temp_path.path())
|
| - ->set_best_effort(true);
|
| + // Make sure this is the last item in the list because it cannot be rolled
|
| + // back.
|
| + install_list->AddDeleteTreeWorkItem(chrome_old_exe, temp_path.path())->
|
| + set_ignore_failure(true);
|
|
|
| installer::InstallStatus ret = installer::RENAME_SUCCESSFUL;
|
| if (!install_list->Do()) {
|
|
|