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 d835da86f38cd52072056311d2ddb728569d3a91..f826b8b8d48ad7bea2afd3020f014f2e4dd468a9 100644 |
--- a/remoting/host/plugin/host_script_object.cc |
+++ b/remoting/host/plugin/host_script_object.cc |
@@ -653,7 +653,7 @@ void HostNPScriptObject::OnReceivedSupportID( |
std::string host_secret = GenerateSupportHostSecret(); |
std::string access_code = support_id + host_secret; |
- host_->set_access_code(access_code); |
+ host_->SetSharedSecret(access_code); |
{ |
base::AutoLock lock(access_code_lock_); |