| Index: content/renderer/render_thread_impl.cc
|
| diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
|
| index eb7094a55a274d2384e6dd7d58d1202cb82a859a..494064a4547b67788358b1670c747e1638c1c410 100644
|
| --- a/content/renderer/render_thread_impl.cc
|
| +++ b/content/renderer/render_thread_impl.cc
|
| @@ -858,6 +858,11 @@ void RenderThreadImpl::Init(
|
| time_zone_monitor->AddClient(
|
| time_zone_monitor_binding_.CreateInterfacePtrAndBind());
|
|
|
| + ChildProcess::current()->SetIOThreadPriority(base::ThreadPriority::DISPLAY);
|
| + ChildThreadImpl::current()->SetThreadPriority(
|
| + categorized_worker_pool_->background_worker_thread_id(),
|
| + base::ThreadPriority::BACKGROUND);
|
| +
|
| is_renderer_suspended_ = false;
|
| }
|
|
|
| @@ -1134,6 +1139,8 @@ void RenderThreadImpl::InitializeCompositorThread() {
|
| compositor_task_runner_->PostTask(
|
| FROM_HERE,
|
| base::Bind(base::IgnoreResult(&ThreadRestrictions::SetIOAllowed), false));
|
| + ChildThreadImpl::current()->SetThreadPriority(compositor_thread_->threadId(),
|
| + base::ThreadPriority::DISPLAY);
|
|
|
| SynchronousInputHandlerProxyClient* synchronous_input_handler_proxy_client =
|
| nullptr;
|
|
|