| Index: components/policy/core/common/registry_dict_win.cc
|
| diff --git a/components/policy/core/common/registry_dict_win.cc b/components/policy/core/common/registry_dict_win.cc
|
| index 61657b8575f6d631bc40b0ff227114e20e582d30..c1b442a705b28c2a65667a6bffc5e688c6eb05a5 100644
|
| --- a/components/policy/core/common/registry_dict_win.cc
|
| +++ b/components/policy/core/common/registry_dict_win.cc
|
| @@ -243,7 +243,7 @@ void RegistryDict::ReadRegistry(HKEY hive, const base::string16& root) {
|
| ClearValues();
|
|
|
| // First, read all the values of the key.
|
| - for (RegistryValueIterator it(hive, root.c_str()); it.Valid(); ++it) {
|
| + for (RegistryValueIterator it(hive, root.c_str(), 0); it.Valid(); ++it) {
|
| const std::string name = base::UTF16ToUTF8(it.Name());
|
| switch (it.Type()) {
|
| case REG_SZ:
|
| @@ -282,7 +282,7 @@ void RegistryDict::ReadRegistry(HKEY hive, const base::string16& root) {
|
| }
|
|
|
| // Recurse for all subkeys.
|
| - for (RegistryKeyIterator it(hive, root.c_str()); it.Valid(); ++it) {
|
| + for (RegistryKeyIterator it(hive, root.c_str(), 0); it.Valid(); ++it) {
|
| std::string name(base::UTF16ToUTF8(it.Name()));
|
| scoped_ptr<RegistryDict> subdict(new RegistryDict());
|
| subdict->ReadRegistry(hive, root + L"\\" + it.Name());
|
|
|