summaryrefslogtreecommitdiffstats
path: root/net/socket/tcp_server_socket_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/tcp_server_socket_win.cc')
-rw-r--r--net/socket/tcp_server_socket_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/tcp_server_socket_win.cc b/net/socket/tcp_server_socket_win.cc
index bae18f2..a850a8a 100644
--- a/net/socket/tcp_server_socket_win.cc
+++ b/net/socket/tcp_server_socket_win.cc
@@ -143,7 +143,7 @@ int TCPServerSocketWin::AcceptInternal(scoped_ptr<StreamSocket>* socket) {
return ERR_FAILED;
}
TCPClientSocket* tcp_socket = new TCPClientSocket(
- AddressList(address.address(), address.port(), false),
+ AddressList::CreateFromIPAddress(address.address(), address.port()),
net_log_.net_log(), net_log_.source());
tcp_socket->AdoptSocket(result);
socket->reset(tcp_socket);