diff options
author | sergeyu <sergeyu@chromium.org> | 2014-09-29 12:38:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-29 19:38:43 +0000 |
commit | afce97826070950bca497ce147a30312ce780e74 (patch) | |
tree | 5d9741c3c98c97427665687d83561d709a2ca222 /remoting/protocol/negotiating_authenticator_unittest.cc | |
parent | 7461dcda6673ccd78b82efc4719e1389fc0c215b (diff) | |
download | chromium_src-afce97826070950bca497ce147a30312ce780e74.zip chromium_src-afce97826070950bca497ce147a30312ce780e74.tar.gz chromium_src-afce97826070950bca497ce147a30312ce780e74.tar.bz2 |
Cleanup usage of scoped_ptr<> in remoting for C++11
- Use nullptr to initialize null scoped_ptr().
- use Pass(), PassAs() is no longer required.
Review URL: https://codereview.chromium.org/609923004
Cr-Commit-Position: refs/heads/master@{#297236}
Diffstat (limited to 'remoting/protocol/negotiating_authenticator_unittest.cc')
-rw-r--r-- | remoting/protocol/negotiating_authenticator_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/protocol/negotiating_authenticator_unittest.cc b/remoting/protocol/negotiating_authenticator_unittest.cc index 82a763c..64afc0c 100644 --- a/remoting/protocol/negotiating_authenticator_unittest.cc +++ b/remoting/protocol/negotiating_authenticator_unittest.cc @@ -79,7 +79,7 @@ class NegotiatingAuthenticatorTest : public AuthenticatorTestBase { client_as_negotiating_authenticator_ = new NegotiatingClientAuthenticator( client_id, client_paired_secret, kTestHostId, fetch_secret_callback, - scoped_ptr<ThirdPartyClientAuthenticator::TokenFetcher>(), methods); + nullptr, methods); client_.reset(client_as_negotiating_authenticator_); } |