Index: net/http/http_stream_factory_impl.cc |
diff --git a/net/http/http_stream_factory_impl.cc b/net/http/http_stream_factory_impl.cc |
index 6c7c46b1f94e9c841df827ba1934d2bc96ecf901..a1c72c6083d313b3d0cbd6b96df0910591607662 100644 |
--- a/net/http/http_stream_factory_impl.cc |
+++ b/net/http/http_stream_factory_impl.cc |
@@ -291,13 +291,17 @@ void HttpStreamFactoryImpl::OnNewSpdySessionReady( |
DCHECK(factory); |
bool use_relative_url = direct || request->url().SchemeIs("wss"); |
request->OnWebSocketStreamReady( |
- NULL, used_ssl_config, used_proxy_info, |
- factory->CreateSpdyStream(spdy_session, use_relative_url)); |
+ NULL, |
+ used_ssl_config, |
+ used_proxy_info, |
+ factory->CreateSpdyStream(spdy_session.get(), use_relative_url)); |
} else { |
bool use_relative_url = direct || request->url().SchemeIs("https"); |
- request->OnStreamReady(NULL, used_ssl_config, used_proxy_info, |
- new SpdyHttpStream(spdy_session, |
- use_relative_url)); |
+ request->OnStreamReady( |
+ NULL, |
+ used_ssl_config, |
+ used_proxy_info, |
+ new SpdyHttpStream(spdy_session.get(), use_relative_url)); |
} |
} |
// TODO(mbelshe): Alert other valid requests. |