| 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 b8f62cfb094e42b41776894db2a1a4c5a91a0d97..350e5209372a267460508f10d909cbd74bef0a61 100644
|
| --- a/net/spdy/spdy_proxy_client_socket_unittest.cc
|
| +++ b/net/spdy/spdy_proxy_client_socket_unittest.cc
|
| @@ -123,7 +123,7 @@ class SpdyProxyClientSocketTest
|
| BoundTestNetLog net_log_;
|
|
|
| private:
|
| - scoped_refptr<HttpNetworkSession> session_;
|
| + scoped_ptr<HttpNetworkSession> session_;
|
| scoped_refptr<IOBuffer> read_buf_;
|
| SpdySessionDependencies session_deps_;
|
| MockConnect connect_data_;
|
| @@ -147,7 +147,6 @@ INSTANTIATE_TEST_CASE_P(NextProto,
|
|
|
| SpdyProxyClientSocketTest::SpdyProxyClientSocketTest()
|
| : spdy_util_(GetParam()),
|
| - session_(NULL),
|
| read_buf_(NULL),
|
| session_deps_(GetParam()),
|
| connect_data_(SYNCHRONOUS, OK),
|
| @@ -189,9 +188,8 @@ void SpdyProxyClientSocketTest::Initialize(MockRead* reads,
|
| &session_deps_);
|
|
|
| // Creates the SPDY session and stream.
|
| - spdy_session_ =
|
| - CreateInsecureSpdySession(
|
| - session_, endpoint_spdy_session_key_, BoundNetLog());
|
| + spdy_session_ = CreateInsecureSpdySession(
|
| + session_.get(), endpoint_spdy_session_key_, BoundNetLog());
|
| base::WeakPtr<SpdyStream> spdy_stream(
|
| CreateStreamSynchronously(
|
| SPDY_BIDIRECTIONAL_STREAM, spdy_session_, url_, LOWEST,
|
|
|