Index: bench/GrResourceCacheBench.cpp |
diff --git a/bench/GrResourceCacheBench.cpp b/bench/GrResourceCacheBench.cpp |
index 890bc9600497b56482d345a0bd2e0a6ba03b1e06..295a5bcec1b4ef83c09f51cbfa7c7ae29dc2bf15 100644 |
--- a/bench/GrResourceCacheBench.cpp |
+++ b/bench/GrResourceCacheBench.cpp |
@@ -23,8 +23,8 @@ enum { |
class BenchResource : public GrGpuResource { |
public: |
BenchResource (GrGpu* gpu) |
- : INHERITED(gpu, kCached_LifeCycle) { |
- this->registerWithCache(); |
+ : INHERITED(gpu) { |
+ this->registerWithCache(SkBudgeted::kYes); |
} |
static void ComputeKey(int i, int keyData32Count, GrUniqueKey* key) { |