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

Unified Diff: remoting/protocol/third_party_client_authenticator.cc

Issue 1534193004: Use std::move() instead of scoped_ptr<>::Pass(). (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
Index: remoting/protocol/third_party_client_authenticator.cc
diff --git a/remoting/protocol/third_party_client_authenticator.cc b/remoting/protocol/third_party_client_authenticator.cc
index 38077332971937c33a842e43c2bef9cb7e97dc00..490f60f786649a380b97e14ef6146026cc92c0e5 100644
--- a/remoting/protocol/third_party_client_authenticator.cc
+++ b/remoting/protocol/third_party_client_authenticator.cc
@@ -21,7 +21,7 @@ namespace protocol {
ThirdPartyClientAuthenticator::ThirdPartyClientAuthenticator(
scoped_ptr<TokenFetcher> token_fetcher)
: ThirdPartyAuthenticatorBase(WAITING_MESSAGE),
- token_fetcher_(token_fetcher.Pass()) {
+ token_fetcher_(std::move(token_fetcher)) {
}
ThirdPartyClientAuthenticator::~ThirdPartyClientAuthenticator() {

Powered by Google App Engine
This is Rietveld 408576698