diff options
Diffstat (limited to 'net/socket/transport_client_socket_unittest.cc')
-rw-r--r-- | net/socket/transport_client_socket_unittest.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/socket/transport_client_socket_unittest.cc b/net/socket/transport_client_socket_unittest.cc index 1379f4a..8f377e5 100644 --- a/net/socket/transport_client_socket_unittest.cc +++ b/net/socket/transport_client_socket_unittest.cc @@ -122,10 +122,7 @@ void TransportClientSocketTest::SetUp() { HostResolver::kDefaultRetryAttempts, NULL)); HostResolver::RequestInfo info(HostPortPair("localhost", listen_port_)); - TestCompletionCallback callback; - int rv = resolver->Resolve(info, &addr, &callback, NULL, BoundNetLog()); - CHECK_EQ(ERR_IO_PENDING, rv); - rv = callback.WaitForResult(); + int rv = resolver->Resolve(info, &addr, NULL, NULL, BoundNetLog()); CHECK_EQ(rv, OK); sock_.reset( socket_factory_->CreateTransportClientSocket(addr, |