| Index: ui/gl/gl_switches.cc
|
| diff --git a/ui/gl/gl_switches.cc b/ui/gl/gl_switches.cc
|
| index b4f26257efa348c33900a083b56898ec60b857fd..5327dd5c0ed08a7ff4b15cfafebc8b16eb9c98a8 100644
|
| --- a/ui/gl/gl_switches.cc
|
| +++ b/ui/gl/gl_switches.cc
|
| @@ -66,8 +66,8 @@
|
| // context will never be lost in any situations, say, a GPU reset.
|
| const char kGpuNoContextLost[] = "gpu-no-context-lost";
|
|
|
| -// Disables the use of DirectComposition to draw to the screen.
|
| -const char kDisableDirectComposition[] = "disable-direct-composition";
|
| +// Turns on the use of DirectComposition to draw to the screen.
|
| +const char kUseDirectComposition[] = "use-direct-composition";
|
|
|
| // Indicates whether the dual GPU switching is supported or not.
|
| const char kSupportsDualGpus[] = "supports-dual-gpus";
|
| @@ -97,16 +97,16 @@
|
| // GpuProcessHost to the GPU Process. Add your switch to this list if you need
|
| // to read it in the GPU process, else don't add it.
|
| const char* kGLSwitchesCopiedFromGpuProcessHost[] = {
|
| - kDisableGpuVsync,
|
| - kDisableD3D11,
|
| - kEnableGPUServiceLogging,
|
| - kEnableGPUServiceTracing,
|
| - kEnableUnsafeES3APIs,
|
| - kGpuNoContextLost,
|
| - kDisableGLDrawingForTests,
|
| - kOverrideUseGLWithOSMesaForTests,
|
| - kUseANGLE,
|
| - kDisableDirectComposition,
|
| + kDisableGpuVsync,
|
| + kDisableD3D11,
|
| + kEnableGPUServiceLogging,
|
| + kEnableGPUServiceTracing,
|
| + kEnableUnsafeES3APIs,
|
| + kGpuNoContextLost,
|
| + kDisableGLDrawingForTests,
|
| + kOverrideUseGLWithOSMesaForTests,
|
| + kUseANGLE,
|
| + kUseDirectComposition,
|
| };
|
| const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
|
| arraysize(kGLSwitchesCopiedFromGpuProcessHost);
|
|
|