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

Unified Diff: content/renderer/render_thread_impl.h

Issue 1134113002: content/common: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix CrOS build. 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
« no previous file with comments | « content/common/mojo/channel_init.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index a17d1f71adf7ac2b37f537d185ebeacb4d29ba1c..5b79e723018ad244fc28cccb6a6cdc8726031673 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -427,7 +427,7 @@ class CONTENT_EXPORT RenderThreadImpl
// GpuChannelHostFactory implementation:
bool IsMainThread() override;
- scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() override;
+ scoped_refptr<base::SingleThreadTaskRunner> GetIOThreadTaskRunner() override;
scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override;
CreateCommandBufferResult CreateViewCommandBuffer(
int32 surface_id,
@@ -545,7 +545,7 @@ class CONTENT_EXPORT RenderThreadImpl
// Cache of variables that are needed on the compositor thread by
// GpuChannelHostFactory methods.
- scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
+ scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner_;
// The message loop of the renderer main thread.
// This message loop should be destructed before the RenderThreadImpl
« no previous file with comments | « content/common/mojo/channel_init.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698