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

Unified Diff: ios/chrome/browser/signin/account_reconcilor_factory.cc

Issue 1586833002: Convert Pass()→std::move() for iOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert accidental //base change Created 4 years, 11 months 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: ios/chrome/browser/signin/account_reconcilor_factory.cc
diff --git a/ios/chrome/browser/signin/account_reconcilor_factory.cc b/ios/chrome/browser/signin/account_reconcilor_factory.cc
index 8023c8eccee9c0d9fa0d3eb7b388fbd34786e144..2685f489f2acd9117baad414254514ffc9e82a07 100644
--- a/ios/chrome/browser/signin/account_reconcilor_factory.cc
+++ b/ios/chrome/browser/signin/account_reconcilor_factory.cc
@@ -4,6 +4,8 @@
#include "ios/chrome/browser/signin/account_reconcilor_factory.h"
+#include <utility>
+
#include "base/memory/singleton.h"
#include "components/keyed_service/ios/browser_state_dependency_manager.h"
#include "components/signin/core/browser/account_reconcilor.h"
@@ -50,7 +52,7 @@ scoped_ptr<KeyedService> AccountReconcilorFactory::BuildServiceInstanceFor(
GaiaCookieManagerServiceFactory::GetForBrowserState(
chrome_browser_state)));
reconcilor->Initialize(true /* start_reconcile_if_tokens_available */);
- return reconcilor.Pass();
+ return std::move(reconcilor);
}
} // namespace ios

Powered by Google App Engine
This is Rietveld 408576698