summaryrefslogtreecommitdiffstats
path: root/remoting/host
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 18:17:04 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 18:17:04 +0000
commit7b6c1f34823084be5870e62e69639af53ce3537c (patch)
treec849f7cf6ea080f37a00f91f1f8e17ab44ac65bd /remoting/host
parentc94cbbe7020a6e05ed40994bf8819053904d517c (diff)
downloadchromium_src-7b6c1f34823084be5870e62e69639af53ce3537c.zip
chromium_src-7b6c1f34823084be5870e62e69639af53ce3537c.tar.gz
chromium_src-7b6c1f34823084be5870e62e69639af53ce3537c.tar.bz2
Make sure to use scoped_refptr for refcounted params in audio/video/remoting
BUG=28083 TEST=existing Review URL: http://codereview.chromium.org/3821005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62949 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host')
-rw-r--r--remoting/host/host_key_pair.cc4
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 {