Index: net/http/http_stream_factory_impl_request.cc |
diff --git a/net/http/http_stream_factory_impl_request.cc b/net/http/http_stream_factory_impl_request.cc |
index a29e5939e535432fabef1e741434c85890ceb5cb..9fb3931462b94392a9da63583507dbb3196a37af 100644 |
--- a/net/http/http_stream_factory_impl_request.cc |
+++ b/net/http/http_stream_factory_impl_request.cc |
@@ -311,19 +311,24 @@ void HttpStreamFactoryImpl::Request::OnNewSpdySessionReady( |
delegate_->OnWebSocketStreamReady( |
job->server_ssl_config(), |
job->proxy_info(), |
- websocket_stream_factory_->CreateSpdyStream( |
- spdy_session, use_relative_url)); |
+ websocket_stream_factory_->CreateSpdyStream(spdy_session.get(), |
+ use_relative_url)); |
} else { |
bool use_relative_url = direct || url().SchemeIs("https"); |
delegate_->OnStreamReady( |
job->server_ssl_config(), |
job->proxy_info(), |
- new SpdyHttpStream(spdy_session, use_relative_url)); |
+ new SpdyHttpStream(spdy_session.get(), use_relative_url)); |
} |
// |this| may be deleted after this point. |
- factory->OnNewSpdySessionReady( |
- spdy_session, direct, used_ssl_config, used_proxy_info, |
- was_npn_negotiated, protocol_negotiated, using_spdy, net_log); |
+ factory->OnNewSpdySessionReady(spdy_session.get(), |
+ direct, |
+ used_ssl_config, |
+ used_proxy_info, |
+ was_npn_negotiated, |
+ protocol_negotiated, |
+ using_spdy, |
+ net_log); |
} |
void HttpStreamFactoryImpl::Request::OrphanJobsExcept(Job* job) { |