diff options
author | halliwell <halliwell@chromium.org> | 2014-12-19 11:57:49 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-19 19:58:39 +0000 |
commit | 4b3deee611a3f4f46a4443e89b3da5222e86098c (patch) | |
tree | a5e6fa9499826e7f4865f2cd3df4efe5d8305380 /chromecast/browser | |
parent | 62e30ca368387d4edbbbf5c721f30881586b2387 (diff) | |
download | chromium_src-4b3deee611a3f4f46a4443e89b3da5222e86098c.zip chromium_src-4b3deee611a3f4f46a4443e89b3da5222e86098c.tar.gz chromium_src-4b3deee611a3f4f46a4443e89b3da5222e86098c.tar.bz2 |
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}
Diffstat (limited to 'chromecast/browser')
-rw-r--r-- | chromecast/browser/cast_browser_main_parts.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc index a3b4f37..43b1d28 100644 --- a/chromecast/browser/cast_browser_main_parts.cc +++ b/chromecast/browser/cast_browser_main_parts.cc @@ -64,6 +64,9 @@ DefaultCommandLineSwitch g_default_switches[] = { // glPostSubBufferCHROMIUM (crbug.com/429200) { cc::switches::kUIDisablePartialSwap, ""}, #endif + // Needed to fix a bug where the raster thread doesn't get scheduled for a + // substantial time (~5 seconds). See https://crbug.com/441895. + { switches::kUseNormalPriorityForTileTaskWorkerThreads, "" }, { NULL, NULL }, // Termination }; |