| Index: ui/gfx/gl/gl_surface.h
|
| diff --git a/ui/gfx/gl/gl_surface.h b/ui/gfx/gl/gl_surface.h
|
| index 0c61ea8921afc4ba8fc29f02fb0c39ebc1045c96..d6523a2c3371745a5a5b7b426ba1fe6727b30d58 100644
|
| --- a/ui/gfx/gl/gl_surface.h
|
| +++ b/ui/gfx/gl/gl_surface.h
|
| @@ -122,7 +122,6 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
|
| class GL_EXPORT GLSurfaceAdapter : public GLSurface {
|
| public:
|
| explicit GLSurfaceAdapter(GLSurface* surface);
|
| - virtual ~GLSurfaceAdapter();
|
|
|
| virtual bool Initialize() OVERRIDE;
|
| virtual void Destroy() OVERRIDE;
|
| @@ -143,6 +142,9 @@ class GL_EXPORT GLSurfaceAdapter : public GLSurface {
|
|
|
| GLSurface* surface() const { return surface_.get(); }
|
|
|
| + protected:
|
| + virtual ~GLSurfaceAdapter();
|
| +
|
| private:
|
| scoped_refptr<GLSurface> surface_;
|
| DISALLOW_COPY_AND_ASSIGN(GLSurfaceAdapter);
|
|
|