| Index: ui/gl/gl_surface.cc
|
| diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
|
| index 7b29a7d1576d38f4fb000198f95207a22e672eb4..6ef457e9baff01fba97ba675be42a808294bf9dd 100644
|
| --- a/ui/gl/gl_surface.cc
|
| +++ b/ui/gl/gl_surface.cc
|
| @@ -173,6 +173,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();
|
| }
|
| @@ -354,6 +362,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);
|
| +}
|
| +
|
| GLSurfaceAdapter::~GLSurfaceAdapter() {}
|
|
|
| scoped_refptr<GLSurface> InitializeGLSurfaceWithFormat(
|
|
|