Index: net/base/tcp_pinger_unittest.cc |
=================================================================== |
--- net/base/tcp_pinger_unittest.cc (revision 18360) |
+++ net/base/tcp_pinger_unittest.cc (working copy) |
@@ -67,7 +67,8 @@ |
net::AddressList addr; |
net::HostResolver resolver; |
- int rv = resolver.Resolve("localhost", listen_port_, &addr, NULL, NULL); |
+ net::HostResolver::RequestInfo info("localhost", listen_port_); |
+ int rv = resolver.Resolve(info, &addr, NULL, NULL); |
EXPECT_EQ(rv, net::OK); |
net::TCPPinger pinger(addr); |
@@ -82,7 +83,8 @@ |
// "Kill" "server" |
listen_sock_ = NULL; |
- int rv = resolver.Resolve("localhost", listen_port_, &addr, NULL, NULL); |
+ net::HostResolver::RequestInfo info("localhost", listen_port_); |
+ int rv = resolver.Resolve(info, &addr, NULL, NULL); |
EXPECT_EQ(rv, net::OK); |
net::TCPPinger pinger(addr); |