Index: chrome/installer/setup/uninstall.cc |
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc |
index c06a2fcc2d19b4ef429c82d3cfb7bd5e47f029ab..e9450ffd2b196f75a6c3c31cc547e4d1e9ddf18a 100644 |
--- a/chrome/installer/setup/uninstall.cc |
+++ b/chrome/installer/setup/uninstall.cc |
@@ -803,7 +803,7 @@ void UninstallActiveSetupEntries(const InstallerState& installer_state, |
"hives."; |
} |
- for (base::win::RegistryKeyIterator it(HKEY_LOCAL_MACHINE, kProfileList); |
+ for (base::win::RegistryKeyIterator it(HKEY_LOCAL_MACHINE, kProfileList, 0); |
it.Valid(); ++it) { |
const wchar_t* profile_sid = it.Name(); |
@@ -938,8 +938,9 @@ bool DeleteChromeRegistrationKeys(const InstallerState& installer_state, |
base::string16 client_name; |
base::string16 client_key; |
base::string16 open_key; |
- for (RegistryKeyIterator iter(root, ShellUtil::kRegStartMenuInternet); |
- iter.Valid(); ++iter) { |
+ for (RegistryKeyIterator iter(root, ShellUtil::kRegStartMenuInternet, 0); |
+ iter.Valid(); |
+ ++iter) { |
client_name.assign(iter.Name()); |
client_key.assign(ShellUtil::kRegStartMenuInternet) |
.append(1, L'\\') |