diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-15 02:35:35 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-15 02:35:35 +0000 |
commit | 5ec59f251a83117d1985d772fdae53bcb9d5f722 (patch) | |
tree | 024d98765f47ec722c6f9300bd98db924c25a174 /remoting | |
parent | 94f50a7f4e8e09543d4868d2111617742befa1c0 (diff) | |
download | chromium_src-5ec59f251a83117d1985d772fdae53bcb9d5f722.zip chromium_src-5ec59f251a83117d1985d772fdae53bcb9d5f722.tar.gz chromium_src-5ec59f251a83117d1985d772fdae53bcb9d5f722.tar.bz2 |
Fix the last scoped_refptr misuses in NewRunnableMethod.
BUG=28083
TEST=builds
Review URL: http://codereview.chromium.org/5852001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69220 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/jingle_glue/jingle_client_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/jingle_glue/jingle_client_unittest.cc b/remoting/jingle_glue/jingle_client_unittest.cc index 38236f4..08452c3 100644 --- a/remoting/jingle_glue/jingle_client_unittest.cc +++ b/remoting/jingle_glue/jingle_client_unittest.cc @@ -57,7 +57,7 @@ TEST_F(JingleClientTest, OnStateChanged) { base::WaitableEvent state_changed_event(true, false); thread_.message_loop()->PostTask(FROM_HERE, NewRunnableFunction( - &JingleClientTest::ChangeState, client_.get(), + &JingleClientTest::ChangeState, client_, buzz::XmppEngine::STATE_OPENING, &state_changed_event)); state_changed_event.Wait(); @@ -73,7 +73,7 @@ TEST_F(JingleClientTest, Close) { client_->Close(); // Verify that the channel doesn't call callback anymore. thread_.message_loop()->PostTask(FROM_HERE, NewRunnableFunction( - &JingleClientTest::ChangeState, client_.get(), + &JingleClientTest::ChangeState, client_, buzz::XmppEngine::STATE_OPENING, static_cast<base::WaitableEvent*>(NULL))); thread_.Stop(); |