Add command line flag to force raster worker threads to normal priority.
commit4b3deee611a3f4f46a4443e89b3da5222e86098c
authorhalliwell <halliwell@chromium.org>
Fri, 19 Dec 2014 19:57:49 +0000 (19 11:57 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 19 Dec 2014 19:58:39 +0000 (19 19:58 +0000)
treea5e6fa9499826e7f4865f2cd3df4efe5d8305380
parent62e30ca368387d4edbbbf5c721f30881586b2387
Add command line flag to force raster worker threads to normal priority.

On some platforms, these threads run at background priority.  This
caused a bug on Chromecast where they didn't get scheduled to run for
long periods of time (~5 seconds).  Setting them to normal priority has
been verified to fix the problem.

BUG=441895

Review URL: https://codereview.chromium.org/803553002

Cr-Commit-Position: refs/heads/master@{#309236}
cc/resources/tile_task_worker_pool.cc
cc/resources/tile_task_worker_pool.h
chrome/browser/chromeos/login/chrome_restart_request.cc
chromecast/browser/cast_browser_main_parts.cc
content/browser/renderer_host/render_process_host_impl.cc
content/public/common/content_switches.cc
content/public/common/content_switches.h
content/renderer/render_thread_impl.cc