| Index: ui/gl/gl_surface.cc
|
| diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
|
| index 70f2207150e1915546efe462b716a17e5eae0697..7f7405e31d9d5285a93a731848767d4459ab2404 100644
|
| --- a/ui/gl/gl_surface.cc
|
| +++ b/ui/gl/gl_surface.cc
|
| @@ -175,6 +175,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();
|
| }
|
| @@ -358,6 +366,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(
|
|
|