| Index: ui/gl/gl_context_egl.cc
|
| diff --git a/ui/gl/gl_context_egl.cc b/ui/gl/gl_context_egl.cc
|
| index 1ac7d017dde589d071114432decbee55a72919ae..1cd08cd40496efa08ee512b4dfe85efcc9d69296 100644
|
| --- a/ui/gl/gl_context_egl.cc
|
| +++ b/ui/gl/gl_context_egl.cc
|
| @@ -74,13 +74,13 @@ bool GLContextEGL::Initialize(GLSurface* compatible_surface,
|
|
|
| if (GLSurfaceEGL::IsCreateContextRobustnessSupported()) {
|
| DVLOG(1) << "EGL_EXT_create_context_robustness supported.";
|
| + context_attributes.push_back(
|
| + EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT);
|
| + context_attributes.push_back(EGL_LOSE_CONTEXT_ON_RESET_EXT);
|
| } else {
|
| // At some point we should require the presence of the robustness
|
| // extension and remove this code path.
|
| DVLOG(1) << "EGL_EXT_create_context_robustness NOT supported.";
|
| - context_attributes.push_back(
|
| - EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT);
|
| - context_attributes.push_back(EGL_LOSE_CONTEXT_ON_RESET_EXT);
|
| }
|
|
|
| if (!eglBindAPI(EGL_OPENGL_ES_API)) {
|
|
|