Index: components/pairing/bluetooth_controller_pairing_controller.cc |
diff --git a/components/pairing/bluetooth_controller_pairing_controller.cc b/components/pairing/bluetooth_controller_pairing_controller.cc |
index 1a6fe8085247806ee6e2b2439b736d49853507d1..ca341d910795b97c22b0c7a45819decaef3e033e 100644 |
--- a/components/pairing/bluetooth_controller_pairing_controller.cc |
+++ b/components/pairing/bluetooth_controller_pairing_controller.cc |
@@ -4,6 +4,8 @@ |
#include "components/pairing/bluetooth_controller_pairing_controller.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/logging.h" |
#include "base/strings/string_util.h" |
@@ -132,7 +134,7 @@ void BluetoothControllerPairingController::OnGetAdapter( |
void BluetoothControllerPairingController::OnStartDiscoverySession( |
scoped_ptr<device::BluetoothDiscoverySession> discovery_session) { |
DCHECK(thread_checker_.CalledOnValidThread()); |
- discovery_session_ = discovery_session.Pass(); |
+ discovery_session_ = std::move(discovery_session); |
ChangeStage(STAGE_DEVICES_DISCOVERY); |
for (const auto& device : adapter_->GetDevices()) |