Index: ui/gfx/gl/gl_surface.h |
diff --git a/ui/gfx/gl/gl_surface.h b/ui/gfx/gl/gl_surface.h |
index 7a89d5beb9251743c44b479c624b1a465baf5d7b..5bd9180223c49f7197bc59e76c526904579c1936 100644 |
--- a/ui/gfx/gl/gl_surface.h |
+++ b/ui/gfx/gl/gl_surface.h |
@@ -47,6 +47,9 @@ class GLSurface : public base::RefCounted<GLSurface> { |
static bool InitializeOneOff(); |
+ // Called after a context is made current with this surface. |
+ virtual void OnMakeCurrent(); |
+ |
#if !defined(OS_MACOSX) |
// Create a GL surface that renders directly to a view. |
static scoped_refptr<GLSurface> CreateViewGLSurface( |