| Index: ui/gl/gl_surface_egl.cc
|
| diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc
|
| index 79a2cd38ed70b9a01f3c0ad27c2f80e12a33c284..f748cfcc887978ae79d0a6dcbb212ffb41fb5af8 100644
|
| --- a/ui/gl/gl_surface_egl.cc
|
| +++ b/ui/gl/gl_surface_egl.cc
|
| @@ -392,8 +392,8 @@
|
| g_use_direct_composition =
|
| HasEGLExtension("EGL_ANGLE_direct_composition") &&
|
| HasEGLExtension("EGL_ANGLE_flexible_surface_compatibility") &&
|
| - !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kDisableDirectComposition);
|
| + base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kUseDirectComposition);
|
|
|
| // TODO(oetuaho@nvidia.com): Surfaceless is disabled on Android as a temporary
|
| // workaround, since code written for Android WebView takes different paths
|
|
|