Index: device/bluetooth/bluetooth_socket_win.cc |
diff --git a/device/bluetooth/bluetooth_socket_win.cc b/device/bluetooth/bluetooth_socket_win.cc |
index b2e9b24040da0728ce4aa7d78735bb4a0bf05c92..f6a5eeb6ac6308aa6bf7c5103dc34c7ce43197e0 100644 |
--- a/device/bluetooth/bluetooth_socket_win.cc |
+++ b/device/bluetooth/bluetooth_socket_win.cc |
@@ -194,7 +194,7 @@ void BluetoothSocketWin::DoConnect( |
} |
std::unique_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; |
@@ -261,7 +261,7 @@ void BluetoothSocketWin::DoListen( |
// TCPSocket methods that involve address could not be called. So bind() |
// is called on |socket_fd| directly. |
std::unique_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; |