Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2529)

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1214503002: Increase priority of raster threads on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 1d12bc12e175dcd22299eaf1fff80d820874cda5..ef3a5e7ff7e49dbe1f7026f1887841e7850b0898 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -669,7 +669,7 @@ void RenderThreadImpl::Init() {
#if defined(OS_ANDROID) || defined(OS_LINUX)
if (!command_line.HasSwitch(
switches::kUseNormalPriorityForTileTaskWorkerThreads)) {
- thread_options.set_priority(base::ThreadPriority::BACKGROUND);
+ thread_options.set_priority(base::ThreadPriority::UI_BACKGROUND);
}
#endif
while (compositor_raster_threads_.size() <
« base/threading/platform_thread_win.cc ('K') | « content/renderer/gpu/compositor_output_surface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698