Index: content/public/browser/gpu_utils.cc |
diff --git a/content/public/browser/gpu_utils.cc b/content/public/browser/gpu_utils.cc |
index a4145ba6443294eedb5b13ded833f323b6d0b830..a821ba83d6753697c41cdfe08fe1e9b6a7f8b0ac 100644 |
--- a/content/public/browser/gpu_utils.cc |
+++ b/content/public/browser/gpu_utils.cc |
@@ -55,6 +55,9 @@ const gpu::GpuPreferences GetGpuPreferencesFromCommandLine() { |
command_line->HasSwitch(switches::kInProcessGPU); |
gpu_preferences.ui_prioritize_in_gpu_process = |
command_line->HasSwitch(switches::kUIPrioritizeInGpuProcess); |
+ gpu_preferences.enable_gpu_scheduler = |
+ command_line->HasSwitch(switches::kEnableGpuScheduler) && |
+ !command_line->HasSwitch(switches::kDisableGpuScheduler); |
gpu_preferences.disable_accelerated_video_decode = |
command_line->HasSwitch(switches::kDisableAcceleratedVideoDecode); |
#if defined(OS_CHROMEOS) |