| Index: chrome/browser/net/dns_global.cc
|
| ===================================================================
|
| --- chrome/browser/net/dns_global.cc (revision 29880)
|
| +++ chrome/browser/net/dns_global.cc (working copy)
|
| @@ -480,8 +480,10 @@
|
| if (!global_host_resolver) {
|
| global_host_resolver = net::CreateSystemHostResolver();
|
|
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableIPv6))
|
| - global_host_resolver->DisableIPv6(true);
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableIPv6)) {
|
| + global_host_resolver->SetDefaultAddressFamily(
|
| + net::ADDRESS_FAMILY_IPV4);
|
| + }
|
| }
|
| return global_host_resolver;
|
| }
|
|
|