diff options
Diffstat (limited to 'remoting/host')
-rw-r--r-- | remoting/host/host_key_pair.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/host/host_key_pair.cc b/remoting/host/host_key_pair.cc index f2ec6987..cabac20 100644 --- a/remoting/host/host_key_pair.cc +++ b/remoting/host/host_key_pair.cc @@ -55,7 +55,9 @@ void HostKeyPair::Save(MutableHostConfig* host_config) { DCHECK(key_.get() != NULL); host_config->Update( - NewRunnableMethod(this, &HostKeyPair::DoSave, host_config)); + NewRunnableMethod(this, + &HostKeyPair::DoSave, + make_scoped_refptr(host_config))); } void HostKeyPair::DoSave(MutableHostConfig* host_config) const { |