summaryrefslogtreecommitdiffstats
path: root/net/socket/client_socket_pool_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/client_socket_pool_base.cc')
-rw-r--r--net/socket/client_socket_pool_base.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/socket/client_socket_pool_base.cc b/net/socket/client_socket_pool_base.cc
index a67e9c9..4a2770f 100644
--- a/net/socket/client_socket_pool_base.cc
+++ b/net/socket/client_socket_pool_base.cc
@@ -111,10 +111,7 @@ int ClientSocketPoolBase::RequestSocket(
ConnectJob* connect_job =
connect_job_factory_->NewConnectJob(group_name, r, this);
connect_job_map_[handle] = connect_job;
- int rv = connect_job->Connect();
-
- CheckSocketCounts(group);
- return rv;
+ return connect_job->Connect();
}
void ClientSocketPoolBase::CancelRequest(const std::string& group_name,