Index: ui/gl/gl_surface_glx.h |
diff --git a/ui/gl/gl_surface_glx.h b/ui/gl/gl_surface_glx.h |
index 8e7bd1c0c784ff4a75ce61720f97998f5044c309..719e5c10d68ad20850fa4b63c414cd94232fc8a6 100644 |
--- a/ui/gl/gl_surface_glx.h |
+++ b/ui/gl/gl_surface_glx.h |
@@ -65,6 +65,11 @@ class GL_EXPORT NativeViewGLSurfaceGLX : public GLSurfaceGLX { |
virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE; |
virtual VSyncProvider* GetVSyncProvider() OVERRIDE; |
+#if defined(TOOLKIT_GTK) |
+ static void AcceleratedCompositingStateChange( |
+ int32 surface_id, bool compositing_active); |
+#endif |
+ |
protected: |
NativeViewGLSurfaceGLX(); |
virtual ~NativeViewGLSurfaceGLX(); |