| Index: chrome/installer/setup/uninstall.cc
|
| diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
|
| index e81dffd26ce5b7add41c58ce313d109d23d8156a..9d8fdf8e2d938e90f4bfb3808f4acea0ec2a20bb 100644
|
| --- a/chrome/installer/setup/uninstall.cc
|
| +++ b/chrome/installer/setup/uninstall.cc
|
| @@ -858,12 +858,10 @@ void RemoveDistributionRegistryState(BrowserDistribution* distribution) {
|
| L"Extensions",
|
| L"NativeMessagingHosts",
|
| };
|
| - base::string16 key_name(L"Software\\");
|
| - key_name += distribution->GetInstallSubDir();
|
| // Delete the contents of the distribution key except for those parts used by
|
| // outsiders to configure Chrome.
|
| DeleteRegistryKeyPartial(
|
| - HKEY_CURRENT_USER, key_name,
|
| + HKEY_CURRENT_USER, distribution->GetRegistryPath(),
|
| std::vector<base::string16>(
|
| &kKeysToPreserve[0],
|
| &kKeysToPreserve[arraysize(kKeysToPreserve) - 1]));
|
|
|