| Index: net/http/http_proxy_client_socket_pool.cc
|
| diff --git a/net/http/http_proxy_client_socket_pool.cc b/net/http/http_proxy_client_socket_pool.cc
|
| index 8d691b7dd8024da6d7d4fea3004c78b7b35ce24b..e2529f8152a3f35264b948c21598992e1e03d124 100644
|
| --- a/net/http/http_proxy_client_socket_pool.cc
|
| +++ b/net/http/http_proxy_client_socket_pool.cc
|
| @@ -315,11 +315,11 @@ int HttpProxyConnectJob::DoSpdyProxyCreateStream() {
|
| }
|
| } else {
|
| // Create a session direct to the proxy itself
|
| - int rv = spdy_pool->CreateAvailableSessionFromSocket(
|
| - key, transport_socket_handle_.Pass(),
|
| - net_log(), OK, &spdy_session, /*using_ssl_*/ true);
|
| - if (rv < 0)
|
| - return rv;
|
| + spdy_session =
|
| + spdy_pool->CreateAvailableSessionFromSocket(
|
| + key, transport_socket_handle_.Pass(),
|
| + net_log(), OK, /*using_ssl_*/ true);
|
| + DCHECK(spdy_session);
|
| }
|
|
|
| next_state_ = STATE_SPDY_PROXY_CREATE_STREAM_COMPLETE;
|
|
|