[scheduler] Input task queue
Split out input task queue from the compositor task queue and use it in
content/renderer/input's MainThreadEventQueue.
For now scheduler applies the exact same policies to the new queue, so
this patch does not affect scheduling policies. It is planned in the
future to run input task queue with high priority unconditionally.
[email protected],[email protected],[email protected]
BUG=806271
Change-Id: I73204187131d01b936a0a5d5052b8969a62205eb
Reviewed-on: https://chromium-review.googlesource.com/888521
Reviewed-by: Dave Tapuska <[email protected]>
Reviewed-by: Kentaro Hara <[email protected]>
Commit-Queue: Alexander Timin <[email protected]>
Cr-Commit-Position: refs/heads/master@{#532409}
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index d2162a24..642621e8 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -1493,7 +1493,7 @@
RenderThreadImpl* render_thread = RenderThreadImpl::current();
if (render_thread) {
input_event_queue_ = new MainThreadEventQueue(
- this, render_thread->GetRendererScheduler()->CompositorTaskRunner(),
+ this, render_thread->GetRendererScheduler()->InputTaskRunner(),
render_thread->GetRendererScheduler(), should_generate_frame_sink);
InputHandlerManager* input_handler_manager =