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

Unified Diff: device/bluetooth/dbus/fake_bluetooth_profile_service_provider.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/dbus/fake_bluetooth_profile_service_provider.cc
diff --git a/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc b/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc
index 10895018af53c2af6ad129375b5de7542c28e26d..905a3af04566ffe15c1d271099542786cb33a776 100644
--- a/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc
+++ b/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc
@@ -4,6 +4,8 @@
#include "device/bluetooth/dbus/fake_bluetooth_profile_service_provider.h"
+#include <utility>
+
#include "device/bluetooth/dbus/bluez_dbus_manager.h"
#include "device/bluetooth/dbus/fake_bluetooth_profile_manager_client.h"
@@ -42,7 +44,7 @@ void FakeBluetoothProfileServiceProvider::NewConnection(
const Delegate::ConfirmationCallback& callback) {
VLOG(1) << object_path_.value() << ": NewConnection for "
<< device_path.value();
- delegate_->NewConnection(device_path, fd.Pass(), options, callback);
+ delegate_->NewConnection(device_path, std::move(fd), options, callback);
}
void FakeBluetoothProfileServiceProvider::RequestDisconnection(
« no previous file with comments | « device/bluetooth/dbus/fake_bluetooth_device_client.cc ('k') | device/bluetooth/test/mock_bluetooth_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698