Index: ui/gl/gl_surface.cc |
diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc |
index 11f4ec21fd493b1c5485390ed67e22c50f6213c1..c0ac7f013cd4fcdc09ec0ccbb6eab08a0e89d226 100644 |
--- a/ui/gl/gl_surface.cc |
+++ b/ui/gl/gl_surface.cc |
@@ -168,6 +168,14 @@ bool GLSurface::BuffersFlipped() const { |
return false; |
} |
+bool GLSurface::SupportsSetDrawRectangle() const { |
+ return false; |
+} |
+ |
+bool GLSurface::SetDrawRectangle(const gfx::Rect& rect) { |
+ return false; |
+} |
+ |
GLSurface* GLSurface::GetCurrent() { |
return current_surface_.Pointer()->Get(); |
} |
@@ -349,6 +357,14 @@ bool GLSurfaceAdapter::BuffersFlipped() const { |
return surface_->BuffersFlipped(); |
} |
+bool GLSurfaceAdapter::SupportsSetDrawRectangle() const { |
+ return surface_->SupportsSetDrawRectangle(); |
+} |
+ |
+bool GLSurfaceAdapter::SetDrawRectangle(const gfx::Rect& rect) { |
+ return surface_->SetDrawRectangle(rect); |
+} |
+ |
void GLSurfaceAdapter::OnSetSwapInterval(int interval) { |
surface_->OnSetSwapInterval(interval); |
} |