| Index: device/bluetooth/bluetooth_socket_win.cc
|
| diff --git a/device/bluetooth/bluetooth_socket_win.cc b/device/bluetooth/bluetooth_socket_win.cc
|
| index 509ade4ab79af1b9066abb5a0e4957d656fe09bb..f2b45e8dc097b2f9918cfbc781b4c7ee6e546711 100644
|
| --- a/device/bluetooth/bluetooth_socket_win.cc
|
| +++ b/device/bluetooth/bluetooth_socket_win.cc
|
| @@ -193,7 +193,7 @@ void BluetoothSocketWin::DoConnect(
|
| }
|
|
|
| scoped_ptr<net::TCPSocket> scoped_socket(
|
| - new net::TCPSocket(NULL, net::NetLog::Source()));
|
| + new net::TCPSocket(NULL, NULL, net::NetLog::Source()));
|
| net::EnsureWinsockInit();
|
| SOCKET socket_fd = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM);
|
| SOCKADDR_BTH sa;
|
| @@ -260,7 +260,7 @@ void BluetoothSocketWin::DoListen(
|
| // TCPSocket methods that involve address could not be called. So bind()
|
| // is called on |socket_fd| directly.
|
| scoped_ptr<net::TCPSocket> scoped_socket(
|
| - new net::TCPSocket(NULL, net::NetLog::Source()));
|
| + new net::TCPSocket(NULL, NULL, net::NetLog::Source()));
|
| scoped_socket->AdoptListenSocket(socket_fd);
|
|
|
| SOCKADDR_BTH sa;
|
|
|