| Index: components/pairing/shark_connection_listener.cc
|
| diff --git a/components/pairing/shark_connection_listener.cc b/components/pairing/shark_connection_listener.cc
|
| index a6bc655f69512d18c444d60f6a3629b0f84bce1a..961d9623750dca32050147a671ef02f9bad4e65b 100644
|
| --- a/components/pairing/shark_connection_listener.cc
|
| +++ b/components/pairing/shark_connection_listener.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "components/pairing/shark_connection_listener.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/logging.h"
|
| #include "base/threading/thread_restrictions.h"
|
| #include "components/pairing/bluetooth_host_pairing_controller.h"
|
| @@ -25,7 +27,7 @@ SharkConnectionListener::~SharkConnectionListener() {
|
| void SharkConnectionListener::PairingStageChanged(Stage new_stage) {
|
| if (new_stage == HostPairingController::STAGE_WAITING_FOR_CODE_CONFIRMATION) {
|
| controller_->RemoveObserver(this);
|
| - callback_.Run(controller_.Pass());
|
| + callback_.Run(std::move(controller_));
|
| callback_.Reset();
|
| }
|
| }
|
|
|