Index: chrome/installer/setup/uninstall.cc |
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc |
index 6e2c40dae6b44a28fd2cef8accae6023a822be24..cdc2f780f4c7b81e60a0d93aa5e7a20a44902ca7 100644 |
--- a/chrome/installer/setup/uninstall.cc |
+++ b/chrome/installer/setup/uninstall.cc |
@@ -257,7 +257,9 @@ installer_util::InstallStatus installer_setup::UninstallChrome( |
dist->GetApplicationName()); |
// Delete the App Paths key that lets explorer find Chrome. |
- DeleteRegistryKey(hklm_key, installer_util::kAppPathsRegistryKey); |
+ std::wstring app_path_key(ShellUtil::kAppPathsRegistryKey); |
+ file_util::AppendToPath(&app_path_key, installer_util::kChromeExe); |
+ DeleteRegistryKey(hklm_key, app_path_key); |
// Delete media player registry key that exists only in HKLM. |
std::wstring reg_path(installer::kMediaPlayerRegPath); |