| Index: device/bluetooth/bluetooth_socket_win.cc
|
| diff --git a/device/bluetooth/bluetooth_socket_win.cc b/device/bluetooth/bluetooth_socket_win.cc
|
| index f6a5eeb6ac6308aa6bf7c5103dc34c7ce43197e0..0db3156a1e7612faa57812f3775179ec49f69fd0 100644
|
| --- a/device/bluetooth/bluetooth_socket_win.cc
|
| +++ b/device/bluetooth/bluetooth_socket_win.cc
|
| @@ -26,6 +26,7 @@
|
| #include "net/base/net_errors.h"
|
| #include "net/base/winsock_init.h"
|
| #include "net/base/winsock_util.h"
|
| +#include "net/log/net_log_source.h"
|
|
|
| namespace {
|
|
|
| @@ -194,7 +195,7 @@ void BluetoothSocketWin::DoConnect(
|
| }
|
|
|
| std::unique_ptr<net::TCPSocket> scoped_socket(
|
| - new net::TCPSocket(NULL, NULL, net::NetLog::Source()));
|
| + new net::TCPSocket(NULL, NULL, net::NetLogSource()));
|
| net::EnsureWinsockInit();
|
| SOCKET socket_fd = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM);
|
| SOCKADDR_BTH sa;
|
| @@ -261,7 +262,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, NULL, net::NetLog::Source()));
|
| + new net::TCPSocket(NULL, NULL, net::NetLogSource()));
|
| scoped_socket->AdoptListenSocket(socket_fd);
|
|
|
| SOCKADDR_BTH sa;
|
|
|