| Index: chrome/browser/net/connection_tester.cc
|
| diff --git a/chrome/browser/net/connection_tester.cc b/chrome/browser/net/connection_tester.cc
|
| index 63af8d15c4d13b1270bca61cee805eb0b9a63f22..00e7482d8e9062cda4f1c80383d70c8638ec0e7e 100644
|
| --- a/chrome/browser/net/connection_tester.cc
|
| +++ b/chrome/browser/net/connection_tester.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -17,7 +17,6 @@
|
| #include "net/base/cert_verifier.h"
|
| #include "net/base/cookie_monster.h"
|
| #include "net/base/host_resolver.h"
|
| -#include "net/base/host_resolver_impl.h"
|
| #include "net/base/io_buffer.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/base/net_util.h"
|
| @@ -110,9 +109,10 @@ class ExperimentURLRequestContext : public net::URLRequestContext {
|
| // Create a vanilla HostResolver that disables caching.
|
| const size_t kMaxJobs = 50u;
|
| const size_t kMaxRetryAttempts = 4u;
|
| - net::HostResolverImpl* impl =
|
| - new net::HostResolverImpl(NULL, NULL, kMaxJobs, kMaxRetryAttempts,
|
| - NULL);
|
| + net::HostResolver* impl = net::CreateNonCachingSystemHostResolver(
|
| + kMaxJobs,
|
| + kMaxRetryAttempts,
|
| + NULL /* NetLog */);
|
|
|
| host_resolver->reset(impl);
|
|
|
|
|