Index: content/public/browser/gpu_utils.cc |
diff --git a/content/public/browser/gpu_utils.cc b/content/public/browser/gpu_utils.cc |
index 245da16f5a380ddeb9ade1966ba5ed45aeb4c92c..52f2a48b7ccfffc697fd72aa626dad5dddaa1739 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) |