| Index: net/spdy/spdy_session_pool.cc
|
| diff --git a/net/spdy/spdy_session_pool.cc b/net/spdy/spdy_session_pool.cc
|
| index 7fc617ec802362979854c88c55d25147e569a946..22bf6ebb9a942ae6da1078bc5be2610eecd29faf 100644
|
| --- a/net/spdy/spdy_session_pool.cc
|
| +++ b/net/spdy/spdy_session_pool.cc
|
| @@ -170,9 +170,9 @@ net::Error SpdySessionPool::GetSpdySessionFromSocket(
|
| // proxy's address instead of the origin server, check to see if this is a
|
| // direct connection.
|
| if (g_enable_ip_pooling && host_port_proxy_pair.second.is_direct()) {
|
| - AddressList addresses;
|
| - if (connection->socket()->GetPeerAddress(&addresses) == OK)
|
| - AddAlias(addresses.front(), host_port_proxy_pair);
|
| + IPEndPoint address;
|
| + if (connection->socket()->GetPeerAddress(&address) == OK)
|
| + AddAlias(address, host_port_proxy_pair);
|
| }
|
|
|
| // Now we can initialize the session with the SSL socket.
|
|
|