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