Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: device/bluetooth/bluetooth_socket_bluez.cc

Issue 1544323002: Convert Pass()→std::move() in //device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluetooth_socket_bluez.cc
diff --git a/device/bluetooth/bluetooth_socket_bluez.cc b/device/bluetooth/bluetooth_socket_bluez.cc
index df5a0c03b42936b2761fb906451f4f1423e51a15..5a82ef17a4588430261f9e4f245ab1cbb5183cb9 100644
--- a/device/bluetooth/bluetooth_socket_bluez.cc
+++ b/device/bluetooth/bluetooth_socket_bluez.cc
@@ -5,9 +5,9 @@
#include "device/bluetooth/bluetooth_socket_bluez.h"
#include <stdint.h>
-
#include <queue>
#include <string>
+#include <utility>
#include "base/bind.h"
#include "base/callback.h"
@@ -368,7 +368,7 @@ void BluetoothSocketBlueZ::NewConnection(
} else {
linked_ptr<ConnectionRequest> request(new ConnectionRequest());
request->device_path = device_path;
- request->fd = fd.Pass();
+ request->fd = std::move(fd);
request->options = options;
request->callback = callback;
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_characteristic_bluez.cc ('k') | device/bluetooth/bluetooth_socket_net.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698