From c6dcfbe55c985b4d3a4a33a76bb9448ec4d5f100 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Tue, 22 Jan 2013 21:38:09 +0000 Subject: remoting: Kill the base::Passed(foo.Pass()) meme. This can be simply spelled as base::Passed(&foo). BUG=155593 R=sergeyu@chromium.org Review URL: https://chromiumcodereview.appspot.com/11896040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178102 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/client/audio_decode_scheduler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remoting/client') diff --git a/remoting/client/audio_decode_scheduler.cc b/remoting/client/audio_decode_scheduler.cc index da17fbd..79ea22d 100644 --- a/remoting/client/audio_decode_scheduler.cc +++ b/remoting/client/audio_decode_scheduler.cc @@ -86,7 +86,7 @@ void AudioDecodeScheduler::Core::DecodePacket( main_task_runner_->PostTask(FROM_HERE, base::Bind( &AudioDecodeScheduler::Core::ProcessDecodedPacket, this, - base::Passed(decoded_packet.Pass()), done)); + base::Passed(&decoded_packet), done)); } void AudioDecodeScheduler::Core::ProcessDecodedPacket( -- cgit v1.1