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