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

Unified Diff: base/threading/platform_thread_win.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: base/threading/platform_thread_win.cc
diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc
index 395fc9e20173ad00797c85248584a9d7d1826d7d..7f5d2394ee331168e107c42240f8d7c9682afcf4 100644
--- a/base/threading/platform_thread_win.cc
+++ b/base/threading/platform_thread_win.cc
@@ -240,6 +240,9 @@ void PlatformThread::SetThreadPriority(PlatformThreadHandle handle,
case ThreadPriority::BACKGROUND:
desired_priority = THREAD_PRIORITY_LOWEST;
break;
+ case ThreadPriority::UI_BACKGROUND:
no sievers 2015/06/25 22:52:15 Now I'm wondering if BELOW_NORMAL is actually a be
aelias_OOO_until_Jul13 2015/06/25 23:49:13 I chose UI_BACKGROUND because the other priority n
+ desired_priority = THREAD_PRIORITY_BELOW_NORMAL;
+ break;
case ThreadPriority::NORMAL:
desired_priority = THREAD_PRIORITY_NORMAL;
break;

Powered by Google App Engine
This is Rietveld 408576698