Index: remoting/host/plugin/host_script_object.cc |
diff --git a/remoting/host/plugin/host_script_object.cc b/remoting/host/plugin/host_script_object.cc |
index 844af25fadb22e877d553c44c8738c21ed6d06d7..9388dbba578025ac163777d7df7294bc61176394 100644 |
--- a/remoting/host/plugin/host_script_object.cc |
+++ b/remoting/host/plugin/host_script_object.cc |
@@ -670,7 +670,7 @@ void HostNPScriptObject::OnReceivedSupportID( |
std::string access_code = support_id + host_secret; |
scoped_ptr<protocol::AuthenticatorFactory> factory( |
new protocol::It2MeHostAuthenticatorFactory( |
- host_key_pair_.GenerateCertificate(), host_key_pair_.private_key(), |
+ host_key_pair_.GenerateCertificate(), *host_key_pair_.private_key(), |
access_code)); |
host_->SetAuthenticatorFactory(factory.Pass()); |