Index: chrome/installer/setup/setup_main.cc |
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc |
index ad881c2fcc8b4eb62451416f7c43be0123776f92..7f6bf0ca5b9d828375e116c2cd802a904ccf5675 100644 |
--- a/chrome/installer/setup/setup_main.cc |
+++ b/chrome/installer/setup/setup_main.cc |
@@ -724,8 +724,10 @@ installer::InstallStatus InstallProductsHelper( |
(install_status == installer::IN_USE_UPDATED)) { |
const Product* chrome = installer_state.FindProduct( |
BrowserDistribution::CHROME_BROWSER); |
- if (chrome != NULL) |
- installer::RemoveChromeLegacyRegistryKeys(chrome->distribution()); |
+ if (chrome != NULL) { |
+ installer::RemoveChromeLegacyRegistryKeys(chrome->distribution(), |
+ chrome_exe); |
+ } |
} |
} |
} |