| Index: net/proxy/proxy_resolver_v8.cc
|
| diff --git a/net/proxy/proxy_resolver_v8.cc b/net/proxy/proxy_resolver_v8.cc
|
| index 92beb80c4588606749b2701a522d219726c1dd14..1fb2e2d364b6750c8e4d53f7267fc4062fabf29b 100644
|
| --- a/net/proxy/proxy_resolver_v8.cc
|
| +++ b/net/proxy/proxy_resolver_v8.cc
|
| @@ -742,12 +742,10 @@ int ProxyResolverV8::GetProxyForURL(
|
| // available to any of the javascript "bindings" that are subsequently invoked
|
| // from the javascript.
|
| //
|
| - // In particular, we create a HostCache that is aggressive about caching
|
| - // failed DNS resolves.
|
| - HostCache host_cache(
|
| - 50,
|
| - base::TimeDelta::FromMinutes(5),
|
| - base::TimeDelta::FromMinutes(5));
|
| + // In particular, we create a HostCache to aggressively cache failed DNS
|
| + // resolves.
|
| + const unsigned kMaxCacheEntries = 50;
|
| + HostCache host_cache(kMaxCacheEntries);
|
|
|
| ProxyResolverRequestContext request_context(&net_log, &host_cache);
|
|
|
|
|