Index: net/spdy/spdy_http_stream_spdy3_unittest.cc |
diff --git a/net/spdy/spdy_http_stream_spdy3_unittest.cc b/net/spdy/spdy_http_stream_spdy3_unittest.cc |
index 8e3d85e2cce2128149cb1e9cf0be3174877f987b..23b7eee66586280b12a0c7141a0d9d80e426be5f 100644 |
--- a/net/spdy/spdy_http_stream_spdy3_unittest.cc |
+++ b/net/spdy/spdy_http_stream_spdy3_unittest.cc |
@@ -816,18 +816,14 @@ void SpdyHttpStreamSpdy3Test::TestSendCredentials( |
TestCompletionCallback callback; |
scoped_ptr<ClientSocketHandle> connection(new ClientSocketHandle); |
SSLConfig ssl_config; |
- scoped_refptr<SOCKSSocketParams> socks_params; |
- scoped_refptr<HttpProxySocketParams> http_proxy_params; |
- scoped_refptr<SSLSocketParams> ssl_params( |
- new SSLSocketParams(transport_params_, |
- socks_params, |
- http_proxy_params, |
- ProxyServer::SCHEME_DIRECT, |
- host_port_pair, |
- ssl_config, |
- 0, |
- false, |
- false)); |
+ scoped_refptr<SSLSocketParams> ssl_params = |
+ SSLSocketParams::CreateForDirectConnection( |
+ transport_params_, |
+ host_port_pair, |
+ ssl_config, |
+ 0, |
+ false, |
+ false); |
EXPECT_EQ(ERR_IO_PENDING, |
connection->Init(host_port_pair.ToString(), |
ssl_params, |