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

Unified Diff: ios/chrome/browser/signin/about_signin_internals_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/about_signin_internals_factory.cc
diff --git a/ios/chrome/browser/signin/about_signin_internals_factory.cc b/ios/chrome/browser/signin/about_signin_internals_factory.cc
index 26d9a7506e23309674e540b44d4eb01e17dc0a27..ba97b3450ff2ce8e054a7c26fa6f2b7013087f18 100644
--- a/ios/chrome/browser/signin/about_signin_internals_factory.cc
+++ b/ios/chrome/browser/signin/about_signin_internals_factory.cc
@@ -4,6 +4,8 @@
#include "ios/chrome/browser/signin/about_signin_internals_factory.h"
+#include <utility>
+
#include "base/memory/singleton.h"
#include "components/keyed_service/ios/browser_state_dependency_manager.h"
#include "components/signin/core/browser/about_signin_internals.h"
@@ -56,7 +58,7 @@ scoped_ptr<KeyedService> AboutSigninInternalsFactory::BuildServiceInstanceFor(
chrome_browser_state)));
service->Initialize(
SigninClientFactory::GetForBrowserState(chrome_browser_state));
- return service.Pass();
+ return std::move(service);
}
void AboutSigninInternalsFactory::RegisterBrowserStatePrefs(
« no previous file with comments | « ios/chrome/browser/safe_browsing/ping_manager.cc ('k') | ios/chrome/browser/signin/account_fetcher_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698