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

Unified Diff: google_apis/gaia/oauth2_token_service_request.cc

Issue 1547233002: Convert Pass()→std::move() in //google_apis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « google_apis/gaia/oauth2_token_service.cc ('k') | google_apis/gcm/base/mcs_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/oauth2_token_service_request.cc
diff --git a/google_apis/gaia/oauth2_token_service_request.cc b/google_apis/gaia/oauth2_token_service_request.cc
index d843b0411cbb449d99d3ce929a2753877fd2f245..819e3cab22b41529fbcb996914dac654b07c8790 100644
--- a/google_apis/gaia/oauth2_token_service_request.cc
+++ b/google_apis/gaia/oauth2_token_service_request.cc
@@ -220,7 +220,7 @@ RequestCore::~RequestCore() {
void RequestCore::StartOnTokenServiceThread() {
DCHECK(token_service_task_runner()->BelongsToCurrentThread());
- request_ = token_service()->StartRequest(account_id_, scopes_, this).Pass();
+ request_ = token_service()->StartRequest(account_id_, scopes_, this);
}
void RequestCore::StopOnTokenServiceThread() {
@@ -336,7 +336,7 @@ scoped_ptr<OAuth2TokenServiceRequest> OAuth2TokenServiceRequest::CreateAndStart(
scoped_refptr<Core> core(
new RequestCore(request.get(), provider, consumer, account_id, scopes));
request->StartWithCore(core);
- return request.Pass();
+ return request;
}
// static
« no previous file with comments | « google_apis/gaia/oauth2_token_service.cc ('k') | google_apis/gcm/base/mcs_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698