| Index: chrome/installer/util/shell_util.cc
|
| diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
|
| index 1e67163d9173198f8f002a714d59d160dfbf932c..0793037c71ad21d130da69202d023d6b762c2c7b 100644
|
| --- a/chrome/installer/util/shell_util.cc
|
| +++ b/chrome/installer/util/shell_util.cc
|
| @@ -1653,8 +1653,9 @@ void ShellUtil::GetRegisteredBrowsers(
|
| const HKEY roots[] = { HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER };
|
| for (int i = 0; i < arraysize(roots); ++i) {
|
| const HKEY root = roots[i];
|
| - for (base::win::RegistryKeyIterator iter(root, base_key.c_str());
|
| - iter.Valid(); ++iter) {
|
| + for (base::win::RegistryKeyIterator iter(root, base_key.c_str(), 0);
|
| + iter.Valid();
|
| + ++iter) {
|
| client_path.assign(base_key).append(1, L'\\').append(iter.Name());
|
| // Read the browser's name (localized according to install language).
|
| if (key.Open(root, client_path.c_str(),
|
|
|