Index: device/bluetooth/bluetooth_socket_net.cc |
diff --git a/device/bluetooth/bluetooth_socket_net.cc b/device/bluetooth/bluetooth_socket_net.cc |
index b042863b1ff7dd624f1982e02331c07ccb0fec05..de113f9c42cbc1c2d1552dc07ce74418914945ae 100644 |
--- a/device/bluetooth/bluetooth_socket_net.cc |
+++ b/device/bluetooth/bluetooth_socket_net.cc |
@@ -6,6 +6,7 @@ |
#include <queue> |
#include <string> |
+#include <utility> |
#include "base/location.h" |
#include "base/logging.h" |
@@ -120,7 +121,7 @@ void BluetoothSocketNet::ResetTCPSocket() { |
} |
void BluetoothSocketNet::SetTCPSocket(scoped_ptr<net::TCPSocket> tcp_socket) { |
- tcp_socket_ = tcp_socket.Pass(); |
+ tcp_socket_ = std::move(tcp_socket); |
} |
void BluetoothSocketNet::PostSuccess(const base::Closure& callback) { |