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

Unified Diff: content/renderer/gpu/compositor_output_surface.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/gpu/compositor_output_surface.cc
diff --git a/content/renderer/gpu/compositor_output_surface.cc b/content/renderer/gpu/compositor_output_surface.cc
index c8270a68c73dcfd298b713f9f7d382ab86b4affb..4286053a201ffefcb9bbc937a284c32702291213 100644
--- a/content/renderer/gpu/compositor_output_surface.cc
+++ b/content/renderer/gpu/compositor_output_surface.cc
@@ -216,8 +216,8 @@ bool CompositorOutputSurface::Send(IPC::Message* message) {
namespace {
#if defined(OS_ANDROID)
void SetThreadPriorityToIdle(base::PlatformThreadHandle handle) {
- base::PlatformThread::SetThreadPriority(handle,
- base::ThreadPriority::BACKGROUND);
+ base::PlatformThread::SetThreadPriority(
+ handle, base::ThreadPriority::UI_BACKGROUND);
}
void SetThreadPriorityToDefault(base::PlatformThreadHandle handle) {
base::PlatformThread::SetThreadPriority(handle,

Powered by Google App Engine
This is Rietveld 408576698