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 a661b2e834320016b2d53f3e1a90ba6e56a0bc8e..3b6f85936e528fbdab7388cf8cfe55614b03ef85 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 = GenerateRandomHostSecret(); |
std::string access_code = support_id + host_secret; |
- host_->set_access_code(access_code); |
+ host_->SetSharedSecret(access_code); |
{ |
base::AutoLock lock(access_code_lock_); |