| Index: net/base/host_resolver_impl.cc
|
| diff --git a/net/base/host_resolver_impl.cc b/net/base/host_resolver_impl.cc
|
| index 217f1e1329e678e0500a337fbc45cf9a33e165e1..cc3efbfceabc75824f368be214fea20aa8d250c1 100644
|
| --- a/net/base/host_resolver_impl.cc
|
| +++ b/net/base/host_resolver_impl.cc
|
| @@ -581,7 +581,9 @@ class HostResolverImpl::Job
|
| // Ideally the following code would be part of host_resolver_proc.cc,
|
| // however it isn't safe to call NetworkChangeNotifier from worker
|
| // threads. So we do it here on the IO thread instead.
|
| - if (error != OK && NetworkChangeNotifier::IsOffline())
|
| + if (error != OK &&
|
| + NetworkChangeNotifier::GetConnectionState() ==
|
| + NetworkChangeNotifier::NONE)
|
| error = ERR_INTERNET_DISCONNECTED;
|
|
|
| // We will record data for the first attempt. Don't contaminate with retry
|
|
|