Index: bench/GrResourceCacheBench.cpp |
diff --git a/bench/GrResourceCacheBench.cpp b/bench/GrResourceCacheBench.cpp |
index 84e0e5d4c8164d936dbd9c4890abd4bf3fcdf86c..068aff22d46854a8392a9b731687f30d9fd712f2 100644 |
--- a/bench/GrResourceCacheBench.cpp |
+++ b/bench/GrResourceCacheBench.cpp |
@@ -27,6 +27,7 @@ public: |
StencilResource(GrGpu* gpu, int id) |
: INHERITED(gpu, false) |
, fID(id) { |
+ this->registerWithCache(); |
} |
virtual ~StencilResource() { this->release(); } |
@@ -51,6 +52,7 @@ public: |
TextureResource(GrGpu* gpu, int id) |
: INHERITED(gpu, false) |
, fID(id) { |
+ this->registerWithCache(); |
} |
virtual ~TextureResource() { this->release(); } |