Index: bench/GrResourceCacheBench.cpp |
diff --git a/bench/GrResourceCacheBench.cpp b/bench/GrResourceCacheBench.cpp |
index 491823b5b896e2103f0826bb1f01ac6ca3ae2f66..2a593c5e383fcc8418b3df39ab43f6ceb41a0034 100644 |
--- a/bench/GrResourceCacheBench.cpp |
+++ b/bench/GrResourceCacheBench.cpp |
@@ -24,7 +24,7 @@ class BenchResource : public GrGpuResource { |
public: |
SK_DECLARE_INST_COUNT(BenchResource); |
BenchResource (GrGpu* gpu) |
- : INHERITED(gpu, false) { |
+ : INHERITED(gpu, kCached_LifeCycle) { |
this->registerWithCache(); |
} |