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