diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-23 02:20:35 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-23 02:20:35 +0000 |
commit | d873f19c60705cb460a4fc4b55a315136d5ad5c8 (patch) | |
tree | d46dbd0a56588ed16c574ab222ced3bf7be18e4c /ipc/ipc_channel_nacl.cc | |
parent | a9d58f39bb1ddc36c2cbde83d533b132e945165a (diff) | |
download | chromium_src-d873f19c60705cb460a4fc4b55a315136d5ad5c8.zip chromium_src-d873f19c60705cb460a4fc4b55a315136d5ad5c8.tar.gz chromium_src-d873f19c60705cb460a4fc4b55a315136d5ad5c8.tar.bz2 |
ipc: Kill the base::Passed(foo.Pass()) meme.
This can be simply spelled as base::Passed(&foo).
BUG=155593
R=dmichael@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12042027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_nacl.cc')
-rw-r--r-- | ipc/ipc_channel_nacl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_channel_nacl.cc b/ipc/ipc_channel_nacl.cc index 646cceb..479bbe4 100644 --- a/ipc/ipc_channel_nacl.cc +++ b/ipc/ipc_channel_nacl.cc @@ -107,7 +107,7 @@ void Channel::ChannelImpl::ReaderThreadRunner::Run() { bool success = ReadDataOnReaderThread(pipe_, msg_contents.get()); if (success) { main_message_loop_->PostTask(FROM_HERE, - base::Bind(data_read_callback_, base::Passed(msg_contents.Pass()))); + base::Bind(data_read_callback_, base::Passed(&msg_contents))); } else { main_message_loop_->PostTask(FROM_HERE, failure_callback_); // Because the read failed, we know we're going to quit. Don't bother |