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

Unified Diff: ios/chrome/browser/signin/account_tracker_service_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_tracker_service_factory.cc
diff --git a/ios/chrome/browser/signin/account_tracker_service_factory.cc b/ios/chrome/browser/signin/account_tracker_service_factory.cc
index df4918a487c314d9004effea5dbd832febd4ffa5..c3fbc4849bfd5dc709cc1848941fd0b949a41217 100644
--- a/ios/chrome/browser/signin/account_tracker_service_factory.cc
+++ b/ios/chrome/browser/signin/account_tracker_service_factory.cc
@@ -4,6 +4,8 @@
#include "ios/chrome/browser/signin/account_tracker_service_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_tracker_service.h"
@@ -45,7 +47,7 @@ scoped_ptr<KeyedService> AccountTrackerServiceFactory::BuildServiceInstanceFor(
scoped_ptr<AccountTrackerService> service(new AccountTrackerService());
service->Initialize(
SigninClientFactory::GetForBrowserState(chrome_browser_state));
- return service.Pass();
+ return std::move(service);
}
} // namespace ios
« no previous file with comments | « ios/chrome/browser/signin/account_reconcilor_factory.cc ('k') | ios/chrome/browser/signin/fake_signin_manager_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698