| Index: ui/gl/gl_surface.h
|
| diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
|
| index ed029add26c6992111dcb446ba6cfe2523deb3da..3851c1c7c81b935154533af5f39a53c1f1791bf6 100644
|
| --- a/ui/gl/gl_surface.h
|
| +++ b/ui/gl/gl_surface.h
|
| @@ -122,6 +122,8 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
|
| const Rect& bounds_rect,
|
| const RectF& crop_rect);
|
|
|
| + virtual bool IsSurfaceless() const;
|
| +
|
| // Create a GL surface that renders directly to a view.
|
| static scoped_refptr<GLSurface> CreateViewGLSurface(
|
| gfx::AcceleratedWidget window);
|
| @@ -181,6 +183,7 @@ class GL_EXPORT GLSurfaceAdapter : public GLSurface {
|
| GLImage* image,
|
| const Rect& bounds_rect,
|
| const RectF& crop_rect) OVERRIDE;
|
| + virtual bool IsSurfaceless() const OVERRIDE;
|
|
|
| GLSurface* surface() const { return surface_.get(); }
|
|
|
|
|