| Index: net/dns/dns_config_service_win.cc
|
| diff --git a/net/dns/dns_config_service_win.cc b/net/dns/dns_config_service_win.cc
|
| index 55a2825ff69bec7c202321a791e191e870cc5f96..36499994afeb6824cea09020a2903c4e07d63a21 100644
|
| --- a/net/dns/dns_config_service_win.cc
|
| +++ b/net/dns/dns_config_service_win.cc
|
| @@ -211,7 +211,10 @@ ConfigParseWinResult ReadSystemSettings(DnsSystemSettings* settings) {
|
| return CONFIG_PARSE_WIN_READ_PRIMARY_SUFFIX;
|
| }
|
|
|
| - base::win::RegistryKeyIterator nrpt_rules(HKEY_LOCAL_MACHINE, kNRPTPath);
|
| + // This registry key is "shared" between 32-bit and 64-bit hive so safe to
|
| + // access without any WOW64 access flag. See
|
| + // http://msdn.microsoft.com/en-us/library/windows/desktop/aa384253.aspx.
|
| + base::win::RegistryKeyIterator nrpt_rules(HKEY_LOCAL_MACHINE, kNRPTPath, 0);
|
| settings->have_name_resolution_policy = (nrpt_rules.SubkeyCount() > 0);
|
|
|
| return CONFIG_PARSE_WIN_OK;
|
|
|