Index: ui/gl/gl_context_android.cc |
diff --git a/ui/gl/gl_context_android.cc b/ui/gl/gl_context_android.cc |
index 88de4fc6f45faaef44742bb4d2df1a6117ccd59b..552b05542ac230e12af4b51ee20cc8ea024e7dd0 100644 |
--- a/ui/gl/gl_context_android.cc |
+++ b/ui/gl/gl_context_android.cc |
@@ -19,7 +19,7 @@ namespace { |
// Used to render into an already current context+surface, |
// that we do not have ownership of (draw callback). |
-class GLNonOwnedContext : public GLContext { |
+class GLNonOwnedContext : public GLContextReal { |
public: |
GLNonOwnedContext(GLShareGroup* share_group); |
@@ -44,10 +44,10 @@ class GLNonOwnedContext : public GLContext { |
}; |
GLNonOwnedContext::GLNonOwnedContext(GLShareGroup* share_group) |
- : GLContext(share_group) {} |
+ : GLContextReal(share_group) {} |
bool GLNonOwnedContext::MakeCurrent(GLSurface* surface) { |
- SetCurrent(this, surface); |
+ SetCurrent(surface); |
SetRealGLApi(); |
return true; |
} |