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 ffaaaea23f4129a0a60e6df6f7edfdfa66116ef1..47d5bb5a29b661c2510e08714d0c503e2bef08a3 100644 |
--- a/ui/gfx/gl/gl_context_egl.cc |
+++ b/ui/gfx/gl/gl_context_egl.cc |
@@ -97,6 +97,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; |