Index: content/browser/gpu/compositor_util.cc |
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc |
index bcd0f5bbc6e2c03f30ef7f8092c47c2e19a13f37..a40bc8f17e0dd683a1f90ddbb11df0332d9067bf 100644 |
--- a/content/browser/gpu/compositor_util.cc |
+++ b/content/browser/gpu/compositor_util.cc |
@@ -239,11 +239,10 @@ |
if (command_line.HasSwitch(switches::kDisableGpuAsyncWorkerContext)) |
return false; |
- |
- if (command_line.HasSwitch(switches::kDisableGpuScheduler)) |
- return false; |
- |
- return command_line.HasSwitch(switches::kEnableGpuScheduler); |
+ else if (command_line.HasSwitch(switches::kEnableGpuAsyncWorkerContext)) |
+ return true; |
+ |
+ return false; |
} |
bool IsForceGpuRasterizationEnabled() { |