summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/third_party_host_authenticator.cc
diff options
context:
space:
mode:
authorsergeyu <sergeyu@chromium.org>2015-12-22 15:26:48 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-22 23:27:37 +0000
commitaa6fa234d0649238dfddf6eb7aa80d0ddc71e66f (patch)
treed26a4e039ef85bc0ab778fd4392b4247ab0aa56b /remoting/protocol/third_party_host_authenticator.cc
parent090adf5b5c636b630d09d124d73d73e494505c3f (diff)
downloadchromium_src-aa6fa234d0649238dfddf6eb7aa80d0ddc71e66f.zip
chromium_src-aa6fa234d0649238dfddf6eb7aa80d0ddc71e66f.tar.gz
chromium_src-aa6fa234d0649238dfddf6eb7aa80d0ddc71e66f.tar.bz2
Use std::move() instead of scoped_ptr<>::Pass() in remoting/protocol
Now there is a presubmit check that doesn't allow Pass() anymore. See https://www.chromium.org/rvalue-references for information about std::move in chromium. Review URL: https://codereview.chromium.org/1534193004 Cr-Commit-Position: refs/heads/master@{#366687}
Diffstat (limited to 'remoting/protocol/third_party_host_authenticator.cc')
-rw-r--r--remoting/protocol/third_party_host_authenticator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/protocol/third_party_host_authenticator.cc b/remoting/protocol/third_party_host_authenticator.cc
index 3ab41cb..d6f43db 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() {