diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-14 21:27:36 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-14 21:27:36 +0000 |
commit | dff0ba42a5d32fe88e46f4eec3917c52c9c52f81 (patch) | |
tree | 01fbb831291cc3bfbc1364b652930647791e63bc /remoting/host | |
parent | e5b5f958a41d75c9e183fd122eb530d747e29e4a (diff) | |
download | chromium_src-dff0ba42a5d32fe88e46f4eec3917c52c9c52f81.zip chromium_src-dff0ba42a5d32fe88e46f4eec3917c52c9c52f81.tar.gz chromium_src-dff0ba42a5d32fe88e46f4eec3917c52c9c52f81.tar.bz2 |
Pass RefCounted objects as scoped_refptr to NewRunnableMethod.
BUG=28083
TEST=none
Review URL: http://codereview.chromium.org/5740005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host')
-rw-r--r-- | remoting/host/chromoting_host.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc index e58623d..a06098c 100644 --- a/remoting/host/chromoting_host.cc +++ b/remoting/host/chromoting_host.cc @@ -206,7 +206,7 @@ void ChromotingHost::OnConnectionOpened(ConnectionToClient* connection) { context_->main_message_loop()->PostTask( FROM_HERE, NewRunnableMethod(this, &ChromotingHost::OnClientConnected, - connection_.get())); + connection_)); } void ChromotingHost::OnConnectionClosed(ConnectionToClient* connection) { @@ -216,7 +216,7 @@ void ChromotingHost::OnConnectionClosed(ConnectionToClient* connection) { context_->main_message_loop()->PostTask( FROM_HERE, NewRunnableMethod(this, &ChromotingHost::OnClientDisconnected, - connection_.get())); + connection_)); } void ChromotingHost::OnConnectionFailed(ConnectionToClient* connection) { @@ -226,7 +226,7 @@ void ChromotingHost::OnConnectionFailed(ConnectionToClient* connection) { context_->main_message_loop()->PostTask( FROM_HERE, NewRunnableMethod(this, &ChromotingHost::OnClientDisconnected, - connection_.get())); + connection_)); } //////////////////////////////////////////////////////////////////////////// |