aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLTexture.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-11-14 13:33:09 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-14 13:33:09 -0800
commit12299ab7a1be5f4b99284ecf289d46107ef0a946 (patch)
tree975b65e8d15cb7c7a6ffc3f1b2b820b4b0da978d /src/gpu/gl/GrGLTexture.h
parent85588344c3ef43768e27881f71079edb372119b5 (diff)
Make GrResourceCache2 responsible for calling release, abandon, and ~.
BUG=skia:2889 TBR=robertphillips@google.com NOTRY=true Review URL: https://codereview.chromium.org/729683002
Diffstat (limited to 'src/gpu/gl/GrGLTexture.h')
-rw-r--r--src/gpu/gl/GrGLTexture.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLTexture.h b/src/gpu/gl/GrGLTexture.h
index f23adae0d2..268fe9239e 100644
--- a/src/gpu/gl/GrGLTexture.h
+++ b/src/gpu/gl/GrGLTexture.h
@@ -33,8 +33,6 @@ public:
GrGLTexture(GrGpuGL*, const GrSurfaceDesc&, const IDDesc&);
- virtual ~GrGLTexture() { this->release(); }
-
virtual GrBackendObject getTextureHandle() const SK_OVERRIDE;
virtual void textureParamsModified() SK_OVERRIDE { fTexParams.invalidate(); }