| Index: ui/gfx/gl/gl_context_egl.cc
|
| diff --git a/ui/gfx/gl/gl_context_egl.cc b/ui/gfx/gl/gl_context_egl.cc
|
| index 6c69f79e0eddfb4210d11d854a8bde6101290ff0..d9b6950b203da93afdfb2ff6ebbe849b186c5b12 100644
|
| --- a/ui/gfx/gl/gl_context_egl.cc
|
| +++ b/ui/gfx/gl/gl_context_egl.cc
|
| @@ -96,6 +96,11 @@ bool GLContextEGL::MakeCurrent(GLSurface* surface) {
|
| }
|
|
|
| SetCurrent(this, surface);
|
| + if (!InitializeExtensionBindings()) {
|
| + ReleaseCurrent(surface);
|
| + return false;
|
| + }
|
| +
|
| if (!surface->OnMakeCurrent(this)) {
|
| LOG(ERROR) << "Could not make current.";
|
| return false;
|
|
|