| Index: ui/gl/gl_surface_egl.cc
|
| diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc
|
| index 1b82c97888c590d26f12d6cc28d7b792a5aa5cea..ab258625a0417e09f34b1583cc63a69ec602fd8a 100644
|
| --- a/ui/gl/gl_surface_egl.cc
|
| +++ b/ui/gl/gl_surface_egl.cc
|
| @@ -231,8 +231,8 @@ EGLConfig ChooseConfig(GLSurface::Format format) {
|
| // Choose an EGL configuration.
|
| // On X this is only used for PBuffer surfaces.
|
| std::vector<EGLint> renderable_types;
|
| - if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableUnsafeES3APIs)) {
|
| + if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableES3GLContext)) {
|
| renderable_types.push_back(EGL_OPENGL_ES3_BIT);
|
| }
|
| renderable_types.push_back(EGL_OPENGL_ES2_BIT);
|
|
|