| Index: ui/gl/gl_context_nsview.mm
|
| diff --git a/ui/gl/gl_context_nsview.mm b/ui/gl/gl_context_nsview.mm
|
| index b6146bb507cb8cb8e1dd12de2a553543c494cafc..dd7a5a64851e4dbea0c833f1e10bc8a45a8b445e 100644
|
| --- a/ui/gl/gl_context_nsview.mm
|
| +++ b/ui/gl/gl_context_nsview.mm
|
| @@ -16,7 +16,7 @@
|
| namespace gfx {
|
|
|
| GLContextNSView::GLContextNSView(GLShareGroup* group)
|
| - : GLContext(group) {
|
| + : GLContextReal(group) {
|
| }
|
|
|
| GLContextNSView::~GLContextNSView() {
|
| @@ -64,6 +64,7 @@ bool GLContextNSView::MakeCurrent(GLSurface* surface) {
|
| [context_ setView:view];
|
| [context_ makeCurrentContext];
|
|
|
| + SetRealGLApi();
|
| SetCurrent(surface);
|
|
|
| if (!surface->OnMakeCurrent(this)) {
|
|
|