summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_test_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/ssl_test_util.cc')
-rw-r--r--net/socket/ssl_test_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/ssl_test_util.cc b/net/socket/ssl_test_util.cc
index 0f012f5..1acc0b5 100644
--- a/net/socket/ssl_test_util.cc
+++ b/net/socket/ssl_test_util.cc
@@ -246,7 +246,7 @@ bool TestServerLauncher::WaitToStart(const std::string& host_name, int port) {
// Verify that the webserver is actually started.
// Otherwise tests can fail if they run faster than Python can start.
net::AddressList addr;
- scoped_refptr<net::HostResolver> resolver(new net::HostResolver);
+ scoped_refptr<net::HostResolver> resolver(net::CreateSystemHostResolver());
net::HostResolver::RequestInfo info(host_name, port);
int rv = resolver->Resolve(info, &addr, NULL, NULL);
if (rv != net::OK)