diff options
Diffstat (limited to 'net/socket/tcp_client_socket_pool.cc')
-rw-r--r-- | net/socket/tcp_client_socket_pool.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/socket/tcp_client_socket_pool.cc b/net/socket/tcp_client_socket_pool.cc index 197ccdb..46aab4d 100644 --- a/net/socket/tcp_client_socket_pool.cc +++ b/net/socket/tcp_client_socket_pool.cc @@ -89,7 +89,7 @@ int TCPConnectJob::DoLoop(int result) { int TCPConnectJob::DoResolveHost() { set_load_state(LOAD_STATE_RESOLVING_HOST); next_state_ = kStateResolveHostComplete; - return resolver_.Resolve(resolve_info_, &addresses_, &callback_); + return resolver_.Resolve(NULL, resolve_info_, &addresses_, &callback_); } int TCPConnectJob::DoResolveHostComplete(int result) { @@ -149,13 +149,14 @@ TCPClientSocketPool::TCPClientSocketPool( TCPClientSocketPool::~TCPClientSocketPool() {} int TCPClientSocketPool::RequestSocket( + LoadLog* load_log, const std::string& group_name, const HostResolver::RequestInfo& resolve_info, int priority, ClientSocketHandle* handle, CompletionCallback* callback) { return base_->RequestSocket( - group_name, resolve_info, priority, handle, callback); + load_log, group_name, resolve_info, priority, handle, callback); } void TCPClientSocketPool::CancelRequest( |