| Index: content/browser/renderer_host/p2p/socket_host_tcp_server.cc
|
| diff --git a/content/browser/renderer_host/p2p/socket_host_tcp_server.cc b/content/browser/renderer_host/p2p/socket_host_tcp_server.cc
|
| index e5d34013c8b50774e48b7f98b7e3ccfadddb1336..ed92b4d9c4a1f805213b854aff830367f4d1b970 100644
|
| --- a/content/browser/renderer_host/p2p/socket_host_tcp_server.cc
|
| +++ b/content/browser/renderer_host/p2p/socket_host_tcp_server.cc
|
| @@ -94,13 +94,12 @@ void P2PSocketHostTcpServer::HandleAcceptResult(int result) {
|
| return;
|
| }
|
|
|
| - net::AddressList addr_list;
|
| - if (accept_socket_->GetPeerAddress(&addr_list) != net::OK) {
|
| + net::IPEndPoint address;
|
| + if (accept_socket_->GetPeerAddress(&address) != net::OK) {
|
| LOG(ERROR) << "Failed to get address of an accepted socket.";
|
| accept_socket_.reset();
|
| return;
|
| }
|
| - const net::IPEndPoint& address = addr_list.front();
|
| AcceptedSocketsMap::iterator it = accepted_sockets_.find(address);
|
| if (it != accepted_sockets_.end())
|
| delete it->second;
|
|
|