diff options
author | dcheng <dcheng@chromium.org> | 2014-08-27 03:03:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-27 10:04:25 +0000 |
commit | d4d317a4d96318376e1d16395955a64accbd8705 (patch) | |
tree | 8370546c0d68e0de48f580f298350fdbc9b9a980 /ipc | |
parent | a27920ff436639a033cd36945542e89c3b913133 (diff) | |
download | chromium_src-d4d317a4d96318376e1d16395955a64accbd8705.zip chromium_src-d4d317a4d96318376e1d16395955a64accbd8705.tar.gz chromium_src-d4d317a4d96318376e1d16395955a64accbd8705.tar.bz2 |
Remove implicit conversions from scoped_refptr to T* in ipc/
This patch was generated by running the rewrite_scoped_refptr clang tool
on a Linux build.
BUG=110610
Review URL: https://codereview.chromium.org/507773002
Cr-Commit-Position: refs/heads/master@{#292130}
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_sync_channel.cc | 2 | ||||
-rw-r--r-- | ipc/mojo/ipc_channel_mojo.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc index 0c4702c..e57cefd 100644 --- a/ipc/ipc_sync_channel.cc +++ b/ipc/ipc_sync_channel.cc @@ -448,7 +448,7 @@ SyncChannel::SyncChannel( : ChannelProxy(new SyncContext(listener, ipc_task_runner, shutdown_event)) { // The current (listener) thread must be distinct from the IPC thread, or else // sending synchronous messages will deadlock. - DCHECK_NE(ipc_task_runner, base::ThreadTaskRunnerHandle::Get()); + DCHECK_NE(ipc_task_runner, base::ThreadTaskRunnerHandle::Get().get()); StartWatching(); } diff --git a/ipc/mojo/ipc_channel_mojo.cc b/ipc/mojo/ipc_channel_mojo.cc index 8e205ac..2ec9945 100644 --- a/ipc/mojo/ipc_channel_mojo.cc +++ b/ipc/mojo/ipc_channel_mojo.cc @@ -488,7 +488,7 @@ ChannelMojo::ChannelMojo( bootstrap_(bootstrap.Pass()), mode_(mode), listener_(listener), peer_pid_(base::kNullProcessId) { - if (base::MessageLoopProxy::current() == io_thread_task_runner) { + if (base::MessageLoopProxy::current() == io_thread_task_runner.get()) { InitOnIOThread(); } else { io_thread_task_runner->PostTask(FROM_HERE, |