Chromium Code Reviews| Index: runtime/bin/socket_win.cc |
| =================================================================== |
| --- runtime/bin/socket_win.cc (revision 18152) |
| +++ runtime/bin/socket_win.cc (working copy) |
| @@ -273,3 +273,9 @@ |
| ListenSocket* listen_socket = new ListenSocket(s); |
| return reinterpret_cast<intptr_t>(listen_socket); |
| } |
| + |
| + |
| +void Socket::Close(intptr_t fd) { |
| + ClientSocket* client_socket = reinterpret_cast<ClientSocket*>(fd); |
| + client_socket->close(); |
| +} |