| 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 0f392e62664f1563f17b9cf6a33e4631b8def491..3e899813f28df4de62b3b448af6c396966efaece 100644
|
| --- a/ui/gfx/gl/gl_context_glx.cc
|
| +++ b/ui/gfx/gl/gl_context_glx.cc
|
| @@ -178,6 +178,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;
|
|
|