Index: ui/gl/gl_context.h |
diff --git a/ui/gl/gl_context.h b/ui/gl/gl_context.h |
index 7300cdb311955068428fae4afb07761576843f67..7645a29a2d7aafa728ae9fafcaf2b907019731a5 100644 |
--- a/ui/gl/gl_context.h |
+++ b/ui/gl/gl_context.h |
@@ -65,6 +65,10 @@ class GL_EXPORT GLContext : public base::RefCounted<GLContext> { |
// transitioning can cause corruption and hangs (OS X only). |
virtual void SetSafeToForceGpuSwitch(); |
+ // Indicate that the real context switches should recreate the surface |
+ // (For an Android work-around only). |
+ virtual void SetRecreateSurfaceOnMakeCurrent(); |
+ |
// Returns whether the current context supports the named extension. The |
// context must be current. |
bool HasExtension(const char* name); |