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

Unified Diff: components/signin/core/browser/account_info_fetcher.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers 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: components/signin/core/browser/account_info_fetcher.cc
diff --git a/components/signin/core/browser/account_info_fetcher.cc b/components/signin/core/browser/account_info_fetcher.cc
index a22fc32090073ad3a32718d7f557f0868ac31b45..ea680099a58550f7e2fd9c2518a5e53cb29f1c4b 100644
--- a/components/signin/core/browser/account_info_fetcher.cc
+++ b/components/signin/core/browser/account_info_fetcher.cc
@@ -4,6 +4,8 @@
#include "components/signin/core/browser/account_info_fetcher.h"
+#include <utility>
+
#include "base/trace_event/trace_event.h"
#include "components/signin/core/browser/account_fetcher_service.h"
#include "google_apis/gaia/gaia_constants.h"
@@ -63,7 +65,7 @@ void AccountInfoFetcher::OnGetUserInfoResponse(
TRACE_EVENT_ASYNC_STEP_PAST1("AccountFetcherService", "AccountIdFetcher",
this, "OnGetUserInfoResponse", "account_id",
account_id_);
- service_->OnUserInfoFetchSuccess(account_id_, user_info.Pass());
+ service_->OnUserInfoFetchSuccess(account_id_, std::move(user_info));
}
void AccountInfoFetcher::OnOAuthError() {

Powered by Google App Engine
This is Rietveld 408576698