Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7876)

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1142063003: content/child: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index bb9e409d7024de96fb77b1aafc2828dc972909d6..a3d2001c8bac0db75f4a3ad9b15ff8baff511a80 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -899,9 +899,9 @@ IPC::SyncMessageFilter* RenderThreadImpl::GetSyncMessageFilter() {
return sync_message_filter();
}
-scoped_refptr<base::MessageLoopProxy>
- RenderThreadImpl::GetIOMessageLoopProxy() {
- return ChildProcess::current()->io_message_loop_proxy();
+scoped_refptr<base::SingleThreadTaskRunner>
+RenderThreadImpl::GetIOMessageLoopProxy() {
+ return ChildProcess::current()->io_task_runner();
}
void RenderThreadImpl::AddRoute(int32 routing_id, IPC::Listener* listener) {
@@ -1616,7 +1616,7 @@ GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync(
// Cache some variables that are needed on the compositor thread for our
// implementation of GpuChannelHostFactory.
- io_thread_task_runner_ = ChildProcess::current()->io_message_loop_proxy();
+ io_thread_task_runner_ = ChildProcess::current()->io_task_runner();
gpu_channel_ =
GpuChannelHost::Create(this,

Powered by Google App Engine
This is Rietveld 408576698