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 d86c690ef48ee8e272a28f334d823298a96cbefb..47110dfd764a4d96a73680ba026e8688d712d38b 100644 |
--- a/net/http/http_stream_factory_impl.cc |
+++ b/net/http/http_stream_factory_impl.cc |
@@ -240,8 +240,11 @@ void HttpStreamFactoryImpl::OnSpdySessionReady( |
using_spdy, |
net_log); |
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. |
} |