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

Unified Diff: content/browser/gpu/compositor_util.cc

Issue 1616953003: content: Improve thread priority for raster threads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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/browser/gpu/compositor_util.cc
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
index 1438e6a1d62fd0c2f2a8dc58981be72caede68dd..44f1fbea0870584687ace3d15ac2898b5ef2f806 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -188,13 +188,6 @@ int NumberOfRendererRasterThreads() {
int num_raster_threads = num_processors / 2;
-#if defined(OS_ANDROID)
- // Limit the number of raster threads to 1 on Android.
- // TODO(reveman): Remove this when we have a better mechanims to prevent
- // pre-paint raster work from slowing down non-raster work. crbug.com/504515
- num_raster_threads = 1;
-#endif
-
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();

Powered by Google App Engine
This is Rietveld 408576698