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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1576133002: Add category handling to RasterWorkerPool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hihi
Patch Set: Created 4 years, 11 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/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 610e2a344e39da8957a116312f23f2fd8ae76045..8f7006ba23ee8b7545361115703573bb88f1f413 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1234,6 +1234,10 @@ static void AppendCompositorCommandLineFlags(base::CommandLine* command_line) {
switches::kNumRasterThreads,
base::IntToString(NumberOfRendererRasterThreads()));
+ if (UseSingleThreadForBackgroundRasterTasks())
+ command_line->AppendSwitch(
+ switches::kUseSingleThreadForBackgroundRasterTasks);
+
if (IsGpuRasterizationEnabled())
command_line->AppendSwitch(switches::kEnableGpuRasterization);

Powered by Google App Engine
This is Rietveld 408576698