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