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

Unified Diff: chrome/browser/signin/easy_unlock_service.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (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: chrome/browser/signin/easy_unlock_service.cc
diff --git a/chrome/browser/signin/easy_unlock_service.cc b/chrome/browser/signin/easy_unlock_service.cc
index 921d7851cf0e5572b4cf1eb653a4ceebb84dad67..946cc048a5f72a6b33542d866ada20bc2344ddbe 100644
--- a/chrome/browser/signin/easy_unlock_service.cc
+++ b/chrome/browser/signin/easy_unlock_service.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/signin/easy_unlock_service.h"
+#include <utility>
+
#include "apps/app_lifetime_monitor.h"
#include "apps/app_lifetime_monitor_factory.h"
#include "base/bind.h"
@@ -363,7 +365,7 @@ std::string EasyUnlockService::GetDeviceId() {
void EasyUnlockService::Initialize(
scoped_ptr<EasyUnlockAppManager> app_manager) {
- app_manager_ = app_manager.Pass();
+ app_manager_ = std::move(app_manager);
app_manager_->EnsureReady(
base::Bind(&EasyUnlockService::InitializeOnAppManagerReady,
weak_ptr_factory_.GetWeakPtr()));

Powered by Google App Engine
This is Rietveld 408576698