| Index: chrome/browser/net/connection_tester.cc
|
| diff --git a/chrome/browser/net/connection_tester.cc b/chrome/browser/net/connection_tester.cc
|
| index 6aa1e9a8c438e6f5b932f00c4b2b88cb5ae5eaf4..ca4bbdd73f01a0ae4f1c2fb02b415286b068df88 100644
|
| --- a/chrome/browser/net/connection_tester.cc
|
| +++ b/chrome/browser/net/connection_tester.cc
|
| @@ -110,9 +110,13 @@ class ExperimentURLRequestContext : public net::URLRequestContext {
|
| // Create a vanilla HostResolver that disables caching.
|
| const size_t kMaxJobs = 50u;
|
| const size_t kMaxRetryAttempts = 4u;
|
| + net::PrioritizedDispatcher::Limits limits = { kMaxJobs };
|
| net::HostResolverImpl* impl =
|
| - new net::HostResolverImpl(NULL, NULL, kMaxJobs, kMaxRetryAttempts,
|
| - NULL);
|
| + new net::HostResolverImpl(
|
| + NULL /* HostCache */,
|
| + limits,
|
| + net::HostResolverImpl::ProcTaskParams(NULL, kMaxRetryAttempts),
|
| + NULL /* NetLog */);
|
|
|
| host_resolver->reset(impl);
|
|
|
|
|