| Index: ui/gfx/gl/gl_context_osmesa.h
|
| diff --git a/ui/gfx/gl/gl_context_osmesa.h b/ui/gfx/gl/gl_context_osmesa.h
|
| index 221c53e8c709c452f79170e3f34a8b1975ca5edc..416a5ae054161a7d193e0d01954d215a7908d7a7 100644
|
| --- a/ui/gfx/gl/gl_context_osmesa.h
|
| +++ b/ui/gfx/gl/gl_context_osmesa.h
|
| @@ -19,11 +19,10 @@ class GLSurface;
|
| class GLContextOSMesa : public GLContext {
|
| public:
|
| explicit GLContextOSMesa(GLShareGroup* share_group);
|
| - virtual ~GLContextOSMesa();
|
|
|
| // Implement GLContext.
|
| - virtual bool Initialize(
|
| - GLSurface* compatible_surface, GpuPreference gpu_preference) OVERRIDE;
|
| + virtual bool Initialize(GLSurface* compatible_surface,
|
| + GpuPreference gpu_preference) OVERRIDE;
|
| virtual void Destroy() OVERRIDE;
|
| virtual bool MakeCurrent(GLSurface* surface) OVERRIDE;
|
| virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE;
|
| @@ -31,6 +30,9 @@ class GLContextOSMesa : public GLContext {
|
| virtual void* GetHandle() OVERRIDE;
|
| virtual void SetSwapInterval(int interval) OVERRIDE;
|
|
|
| + protected:
|
| + virtual ~GLContextOSMesa();
|
| +
|
| private:
|
| OSMesaContext context_;
|
|
|
|
|