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

Unified Diff: device/bluetooth/dbus/bluetooth_media_endpoint_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/bluetooth_media_endpoint_service_provider.cc
diff --git a/device/bluetooth/dbus/bluetooth_media_endpoint_service_provider.cc b/device/bluetooth/dbus/bluetooth_media_endpoint_service_provider.cc
index 9c7a40815c16fec42f00f6a6666aceae3b42f151..5a0d17fc2adf218b6eba5ec3f366462ec83da07b 100644
--- a/device/bluetooth/dbus/bluetooth_media_endpoint_service_provider.cc
+++ b/device/bluetooth/dbus/bluetooth_media_endpoint_service_provider.cc
@@ -5,6 +5,7 @@
#include "device/bluetooth/dbus/bluetooth_media_endpoint_service_provider.h"
#include <stddef.h>
+#include <utility>
#include "base/bind.h"
#include "base/logging.h"
@@ -255,7 +256,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothMediaEndpointServiceProviderImpl
} else {
writer.AppendArrayOfBytes(&configuration[0], configuration.size());
}
- response_sender.Run(response.Pass());
+ response_sender.Run(std::move(response));
}
// Origin thread (i.e. the UI thread in production).

Powered by Google App Engine
This is Rietveld 408576698