| Index: net/socket/ssl_client_socket_pool_unittest.cc
|
| diff --git a/net/socket/ssl_client_socket_pool_unittest.cc b/net/socket/ssl_client_socket_pool_unittest.cc
|
| index 168365d6867f768d868254f9a14aa3ef485a6d30..b841c029ec997a8e791362304f5837dffa9740dc 100644
|
| --- a/net/socket/ssl_client_socket_pool_unittest.cc
|
| +++ b/net/socket/ssl_client_socket_pool_unittest.cc
|
| @@ -14,7 +14,6 @@
|
| #include "net/base/mock_host_resolver.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/base/ssl_config_service_defaults.h"
|
| -#include "net/base/sys_addrinfo.h"
|
| #include "net/base/test_certificate_data.h"
|
| #include "net/base/test_completion_callback.h"
|
| #include "net/http/http_auth_handler_factory.h"
|
| @@ -721,9 +720,8 @@ TEST_F(SSLClientSocketPoolTest, IPPooling) {
|
|
|
| // TODO(rtenneti): MockClientSocket::GetPeerAddress returns 0 as the port
|
| // number. Fix it to return port 80 and then use GetPeerAddress to AddAlias.
|
| - const addrinfo* address = test_hosts[0].addresses.head();
|
| SpdySessionPoolPeer pool_peer(session_->spdy_session_pool());
|
| - pool_peer.AddAlias(address, test_hosts[0].pair);
|
| + pool_peer.AddAlias(test_hosts[0].addresses.front(), test_hosts[0].pair);
|
|
|
| scoped_refptr<SpdySession> spdy_session;
|
| rv = session_->spdy_session_pool()->GetSpdySessionFromSocket(
|
| @@ -807,9 +805,8 @@ TEST_F(SSLClientSocketPoolTest, IPPoolingClientCert) {
|
|
|
| // TODO(rtenneti): MockClientSocket::GetPeerAddress returns 0 as the port
|
| // number. Fix it to return port 80 and then use GetPeerAddress to AddAlias.
|
| - const addrinfo* address = test_hosts[0].addresses.head();
|
| SpdySessionPoolPeer pool_peer(session_->spdy_session_pool());
|
| - pool_peer.AddAlias(address, test_hosts[0].pair);
|
| + pool_peer.AddAlias(test_hosts[0].addresses.front(), test_hosts[0].pair);
|
|
|
| scoped_refptr<SpdySession> spdy_session;
|
| rv = session_->spdy_session_pool()->GetSpdySessionFromSocket(
|
|
|