summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gl/gl_surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/gl/gl_surface.h')
-rw-r--r--ui/gfx/gl/gl_surface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/gfx/gl/gl_surface.h b/ui/gfx/gl/gl_surface.h
index 5bd9180..1d6ddc2d 100644
--- a/ui/gfx/gl/gl_surface.h
+++ b/ui/gfx/gl/gl_surface.h
@@ -13,6 +13,8 @@
namespace gfx {
+class GLContext;
+
// Encapsulates a surface that can be rendered to with GL, hiding platform
// specific management.
class GLSurface : public base::RefCounted<GLSurface> {
@@ -48,7 +50,7 @@ class GLSurface : public base::RefCounted<GLSurface> {
static bool InitializeOneOff();
// Called after a context is made current with this surface.
- virtual void OnMakeCurrent();
+ virtual void OnMakeCurrent(GLContext* context);
#if !defined(OS_MACOSX)
// Create a GL surface that renders directly to a view.