| Index: ui/gl/gl_surface.cc
|
| diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
|
| index 31b5ab9576242b1beca5b0f17fee5f1724cd943f..620cee7e10ef747d3459571e505cc64310347a76 100644
|
| --- a/ui/gl/gl_surface.cc
|
| +++ b/ui/gl/gl_surface.cc
|
| @@ -235,6 +235,10 @@ bool GLSurface::ScheduleOverlayPlane(int z_order,
|
| return false;
|
| }
|
|
|
| +bool GLSurface::IsSurfaceless() const {
|
| + return false;
|
| +}
|
| +
|
| GLSurface* GLSurface::GetCurrent() {
|
| return current_surface_.Pointer()->Get();
|
| }
|
| @@ -352,6 +356,10 @@ bool GLSurfaceAdapter::ScheduleOverlayPlane(int z_order,
|
| z_order, transform, image, bounds_rect, crop_rect);
|
| }
|
|
|
| +bool GLSurfaceAdapter::IsSurfaceless() const {
|
| + return surface_->IsSurfaceless();
|
| +}
|
| +
|
| GLSurfaceAdapter::~GLSurfaceAdapter() {}
|
|
|
| } // namespace gfx
|
|
|