Index: ui/gfx/gl/gl_surface.h |
diff --git a/ui/gfx/gl/gl_surface.h b/ui/gfx/gl/gl_surface.h |
index 513f37d40c40c682fc2ad3e23bf4d6fc851ef399..e5352c3ca2ceb22b0f6770e973f662e13af779d6 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( |