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

Unified Diff: remoting/host/oauth_token_getter_impl.cc

Issue 1549493004: Use std::move() instead of .Pass() in remoting/host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass
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
Index: remoting/host/oauth_token_getter_impl.cc
diff --git a/remoting/host/oauth_token_getter_impl.cc b/remoting/host/oauth_token_getter_impl.cc
index 3d08f035c08d51644462ce2758dddad4a6a10b49..fc301e8b0186b12ea5e7e1f62b9d619575d380be 100644
--- a/remoting/host/oauth_token_getter_impl.cc
+++ b/remoting/host/oauth_token_getter_impl.cc
@@ -28,7 +28,7 @@ OAuthTokenGetterImpl::OAuthTokenGetterImpl(
const scoped_refptr<net::URLRequestContextGetter>&
url_request_context_getter,
bool auto_refresh)
- : oauth_credentials_(oauth_credentials.Pass()),
+ : oauth_credentials_(std::move(oauth_credentials)),
gaia_oauth_client_(
new gaia::GaiaOAuthClient(url_request_context_getter.get())),
url_request_context_getter_(url_request_context_getter) {

Powered by Google App Engine
This is Rietveld 408576698