Index: ui/gl/gl_surface.cc |
diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc |
index c5346908b17865a010dac0677b15713651d72450..224953658cc8bf3e13484a96fa444cc55283054d 100644 |
--- a/ui/gl/gl_surface.cc |
+++ b/ui/gl/gl_surface.cc |
@@ -219,6 +219,10 @@ bool GLSurface::IsSurfaceless() const { |
return false; |
} |
+bool GLSurface::FlipsVertically() const { |
+ return false; |
+} |
+ |
GLSurface* GLSurface::GetCurrent() { |
return current_surface_.Pointer()->Get(); |
} |
@@ -379,6 +383,10 @@ bool GLSurfaceAdapter::IsSurfaceless() const { |
return surface_->IsSurfaceless(); |
} |
+bool GLSurfaceAdapter::FlipsVertically() const { |
+ return surface_->FlipsVertically(); |
+} |
+ |
GLSurfaceAdapter::~GLSurfaceAdapter() {} |
} // namespace gfx |