| Index: chrome/browser/signin/easy_unlock_service_regular.cc
|
| diff --git a/chrome/browser/signin/easy_unlock_service_regular.cc b/chrome/browser/signin/easy_unlock_service_regular.cc
|
| index 8a290da9a06ad8389b63e1db44222760d2570b87..6e3e4664b67e9bbba8aecd0454d3ede424751414 100644
|
| --- a/chrome/browser/signin/easy_unlock_service_regular.cc
|
| +++ b/chrome/browser/signin/easy_unlock_service_regular.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/signin/easy_unlock_service_regular.h"
|
|
|
| #include <stdint.h>
|
| +#include <utility>
|
|
|
| #include "base/base64url.h"
|
| #include "base/bind.h"
|
| @@ -399,9 +400,9 @@ void EasyUnlockServiceRegular::StartAutoPairing(
|
| scoped_ptr<extensions::Event> event(new extensions::Event(
|
| extensions::events::EASY_UNLOCK_PRIVATE_ON_START_AUTO_PAIRING,
|
| extensions::api::easy_unlock_private::OnStartAutoPairing::kEventName,
|
| - args.Pass()));
|
| + std::move(args)));
|
| extensions::EventRouter::Get(profile())->DispatchEventWithLazyListener(
|
| - extension_misc::kEasyUnlockAppId, event.Pass());
|
| + extension_misc::kEasyUnlockAppId, std::move(event));
|
| }
|
|
|
| void EasyUnlockServiceRegular::SetAutoPairingResult(
|
| @@ -595,7 +596,7 @@ void EasyUnlockServiceRegular::SyncProfilePrefsToLocalState() {
|
| DictionaryPrefUpdate update(local_state,
|
| prefs::kEasyUnlockLocalStateUserPrefs);
|
| update->SetWithoutPathExpansion(GetAccountId().GetUserEmail(),
|
| - user_prefs_dict.Pass());
|
| + std::move(user_prefs_dict));
|
| }
|
|
|
| cryptauth::GcmDeviceInfo EasyUnlockServiceRegular::GetGcmDeviceInfo() {
|
|
|