Index: remoting/protocol/me2me_host_authenticator_factory.cc |
diff --git a/remoting/protocol/me2me_host_authenticator_factory.cc b/remoting/protocol/me2me_host_authenticator_factory.cc |
index 1d8b5b08b6a815bc9337108213761ba00b66829b..5bb07d42c8a92ee5c0737af4dc80f8cbc358cd0c 100644 |
--- a/remoting/protocol/me2me_host_authenticator_factory.cc |
+++ b/remoting/protocol/me2me_host_authenticator_factory.cc |
@@ -119,13 +119,14 @@ scoped_ptr<Authenticator> Me2MeHostAuthenticatorFactory::CreateAuthenticator( |
if (!local_cert_.empty() && key_pair_.get()) { |
if (token_validator_factory_) { |
return NegotiatingHostAuthenticator::CreateWithThirdPartyAuth( |
- local_cert_, key_pair_, |
- token_validator_factory_->CreateTokenValidator( |
- local_jid, remote_jid)); |
+ local_jid, remote_jid, local_cert_, key_pair_, |
+ token_validator_factory_->CreateTokenValidator(local_jid, |
+ remote_jid)); |
} |
return NegotiatingHostAuthenticator::CreateWithPin( |
- local_cert_, key_pair_, pin_hash_, pairing_registry_); |
+ local_jid, remote_jid, local_cert_, key_pair_, pin_hash_, |
+ pairing_registry_); |
} |
return make_scoped_ptr( |