summaryrefslogtreecommitdiffstats
path: root/device/bluetooth/bluetooth_socket_net.cc
diff options
context:
space:
mode:
Diffstat (limited to 'device/bluetooth/bluetooth_socket_net.cc')
-rw-r--r--device/bluetooth/bluetooth_socket_net.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/device/bluetooth/bluetooth_socket_net.cc b/device/bluetooth/bluetooth_socket_net.cc
index b042863..de113f9 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) {