Index: ui/gl/gl_surface.h |
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h |
index f91ef43b8ba9a588201d4f9690e3c83efc64404b..d528913563d88b1c094a15946326f10b66503e62 100644 |
--- a/ui/gl/gl_surface.h |
+++ b/ui/gl/gl_surface.h |
@@ -180,6 +180,8 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { |
virtual bool IsSurfaceless() const; |
+ virtual bool FlipsVertically() const; |
+ |
// Create a GL surface that renders directly to a view. |
static scoped_refptr<GLSurface> CreateViewGLSurface( |
gfx::AcceleratedWidget window); |
@@ -266,6 +268,7 @@ class GL_EXPORT GLSurfaceAdapter : public GLSurface { |
const Rect& bounds_rect, |
const RectF& crop_rect) override; |
bool IsSurfaceless() const override; |
+ bool FlipsVertically() const override; |
GLSurface* surface() const { return surface_.get(); } |