Index: net/spdy/spdy_proxy_client_socket_unittest.cc |
diff --git a/net/spdy/spdy_proxy_client_socket_unittest.cc b/net/spdy/spdy_proxy_client_socket_unittest.cc |
index a8362e3c1b755673ccb83ddffd237492e713eb4c..9d3e03e412745b94bf8e368aad87a0c8a20c76bc 100644 |
--- a/net/spdy/spdy_proxy_client_socket_unittest.cc |
+++ b/net/spdy/spdy_proxy_client_socket_unittest.cc |
@@ -123,7 +123,7 @@ |
BoundTestNetLog net_log_; |
private: |
- scoped_ptr<HttpNetworkSession> session_; |
+ scoped_refptr<HttpNetworkSession> session_; |
scoped_refptr<IOBuffer> read_buf_; |
SpdySessionDependencies session_deps_; |
MockConnect connect_data_; |
@@ -147,6 +147,7 @@ |
SpdyProxyClientSocketTest::SpdyProxyClientSocketTest() |
: spdy_util_(GetParam()), |
+ session_(NULL), |
read_buf_(NULL), |
session_deps_(GetParam()), |
connect_data_(SYNCHRONOUS, OK), |
@@ -188,8 +189,9 @@ |
&session_deps_); |
// Creates the SPDY session and stream. |
- spdy_session_ = CreateInsecureSpdySession( |
- session_.get(), endpoint_spdy_session_key_, BoundNetLog()); |
+ spdy_session_ = |
+ CreateInsecureSpdySession( |
+ session_, endpoint_spdy_session_key_, BoundNetLog()); |
base::WeakPtr<SpdyStream> spdy_stream( |
CreateStreamSynchronously( |
SPDY_BIDIRECTIONAL_STREAM, spdy_session_, url_, LOWEST, |