Index: bench/GrResourceCacheBench.cpp |
diff --git a/bench/GrResourceCacheBench.cpp b/bench/GrResourceCacheBench.cpp |
index ef97ed89711c9472c2c06b9cec5dfb4f47ad8224..e1ec90d51106ea31bddc4e50e61effc0976f8b05 100644 |
--- a/bench/GrResourceCacheBench.cpp |
+++ b/bench/GrResourceCacheBench.cpp |
@@ -33,8 +33,6 @@ public: |
this->registerWithCache(); |
} |
- virtual ~StencilResource() { this->release(); } |
- |
static GrResourceKey ComputeKey(int width, int height, int sampleCnt) { |
return GrStencilBuffer::ComputeKey(width, height, sampleCnt); |
} |
@@ -58,8 +56,6 @@ public: |
this->registerWithCache(); |
} |
- virtual ~TextureResource() { this->release(); } |
- |
static GrResourceKey ComputeKey(const GrSurfaceDesc& desc) { |
GrCacheID::Key key; |
memset(&key, 0, sizeof(key)); |