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

Unified Diff: remoting/protocol/third_party_host_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_host_authenticator.cc
diff --git a/remoting/protocol/third_party_host_authenticator.cc b/remoting/protocol/third_party_host_authenticator.cc
index 3ab41cba1cc9c8e194c0fd9ec9086ffc3b5e02ea..d6f43db9bddb8f095832dc5ebb74012147102c49 100644
--- a/remoting/protocol/third_party_host_authenticator.cc
+++ b/remoting/protocol/third_party_host_authenticator.cc
@@ -24,7 +24,7 @@ ThirdPartyHostAuthenticator::ThirdPartyHostAuthenticator(
: ThirdPartyAuthenticatorBase(MESSAGE_READY),
local_cert_(local_cert),
key_pair_(key_pair),
- token_validator_(token_validator.Pass()) {
+ token_validator_(std::move(token_validator)) {
}
ThirdPartyHostAuthenticator::~ThirdPartyHostAuthenticator() {

Powered by Google App Engine
This is Rietveld 408576698