diff options
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/gl/SkGLContext.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/gpu/gl/SkGLContext.h b/include/gpu/gl/SkGLContext.h index 3420a47973..7edfa730aa 100644 --- a/include/gpu/gl/SkGLContext.h +++ b/include/gpu/gl/SkGLContext.h @@ -17,9 +17,9 @@ * This class is intended for Skia's testing needs and not for general * use. */ -class SK_API SkGLContext : public SkRefCnt { +class SK_API SkGLContext : public SkNoncopyable { public: - ~SkGLContext() override; + virtual ~SkGLContext(); bool isValid() const { return NULL != gl(); } @@ -106,8 +106,6 @@ private: SkAutoTUnref<const GrGLInterface> fGL; friend class GLFenceSync; // For onPlatformGetProcAddress. - - typedef SkRefCnt INHERITED; }; /** Creates platform-dependent GL context object |