Index: components/signin/core/browser/account_fetcher_service.cc |
diff --git a/components/signin/core/browser/account_fetcher_service.cc b/components/signin/core/browser/account_fetcher_service.cc |
index 83808b4c4cced535c4bcecf52b37b0d386253f9d..1902fcc519f42e8b7cd0f970fe517de2f6b60e1f 100644 |
--- a/components/signin/core/browser/account_fetcher_service.cc |
+++ b/components/signin/core/browser/account_fetcher_service.cc |
@@ -4,6 +4,8 @@ |
#include "components/signin/core/browser/account_fetcher_service.h" |
+#include <utility> |
+ |
#include "base/command_line.h" |
#include "base/metrics/field_trial.h" |
#include "base/prefs/pref_service.h" |
@@ -204,7 +206,7 @@ void AccountFetcherService::StartFetchingUserInfo( |
scoped_ptr<AccountInfoFetcher> fetcher(new AccountInfoFetcher( |
token_service_, signin_client_->GetURLRequestContext(), this, |
account_id)); |
- user_info_requests_.set(account_id, fetcher.Pass()); |
+ user_info_requests_.set(account_id, std::move(fetcher)); |
user_info_requests_.get(account_id)->Start(); |
} |
} |
@@ -269,7 +271,7 @@ void AccountFetcherService::SendRefreshTokenAnnotationRequest( |
// If request was sent AccountFetcherService needs to own request till it |
// finishes. |
if (request) |
- refresh_token_annotation_requests_.set(account_id, request.Pass()); |
+ refresh_token_annotation_requests_.set(account_id, std::move(request)); |
} |
#endif |
} |