Index: ui/gl/gl_context_stub.cc |
diff --git a/ui/gl/gl_context_stub.cc b/ui/gl/gl_context_stub.cc |
index 97a97d8b97bbc4d40e9e33576ea43a63fcd96855..9b42a093971c27993123b525ec7116b6fcdc60b6 100644 |
--- a/ui/gl/gl_context_stub.cc |
+++ b/ui/gl/gl_context_stub.cc |
@@ -4,6 +4,8 @@ |
#include "ui/gl/gl_context_stub.h" |
+#include "ui/gl/gl_gl_api_implementation.h" |
+ |
namespace gl { |
GLContextStub::GLContextStub() : GLContextReal(nullptr) {} |
@@ -16,7 +18,7 @@ bool GLContextStub::Initialize( |
} |
bool GLContextStub::MakeCurrent(GLSurface* surface) { |
- SetRealGLApi(); |
+ SetGLToStubGLApi(); |
SetCurrent(surface); |
InitializeDynamicBindings(); |
return true; |