| Index: content/renderer/render_thread_impl.h
|
| diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
|
| index 3bc7f9dc887ef8e135bdc1605eab2820c33b6e6e..83ea9217bffdf329f73e7fe44eac2a97072a0952 100644
|
| --- a/content/renderer/render_thread_impl.h
|
| +++ b/content/renderer/render_thread_impl.h
|
| @@ -16,6 +16,7 @@
|
| #include "base/threading/thread_checker.h"
|
| #include "base/timer/timer.h"
|
| #include "build/build_config.h"
|
| +#include "cc/trees/main_thread_task_runner.h"
|
| #include "content/child/child_thread.h"
|
| #include "content/common/content_export.h"
|
| #include "content/common/gpu/client/gpu_channel_host.h"
|
| @@ -43,6 +44,7 @@ class WebMediaStreamCenterClient;
|
|
|
| namespace base {
|
| class MessageLoopProxy;
|
| +class SingleThreadTaskRunner;
|
| class Thread;
|
| }
|
|
|
| @@ -198,6 +200,10 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
|
| return webkit_platform_support_.get();
|
| }
|
|
|
| + scoped_refptr<cc::MainThreadTaskRunner> main_thread_task_runner() const {
|
| + return main_thread_task_runner_;
|
| + }
|
| +
|
| IPC::ForwardingMessageFilter* compositor_output_surface_filter() const {
|
| return compositor_output_surface_filter_.get();
|
| }
|
| @@ -567,6 +573,9 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
|
| // backed GpuMemoryBuffers prevent this. crbug.com/325045
|
| base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_;
|
|
|
| + scoped_refptr<cc::MainThreadTaskRunner> main_thread_task_runner_;
|
| + scoped_refptr<base::SingleThreadTaskRunner> input_task_runner_;
|
| +
|
| // Compositor settings
|
| bool is_gpu_rasterization_enabled_;
|
| bool is_gpu_rasterization_forced_;
|
|
|