Index: bench/GrResourceCacheBench.cpp |
diff --git a/bench/GrResourceCacheBench.cpp b/bench/GrResourceCacheBench.cpp |
index bc3803518347bc7df392f35a569cc323bf456f72..3f17a8984c915c6ba0e1aded7500ec3e4dade2ce 100644 |
--- a/bench/GrResourceCacheBench.cpp |
+++ b/bench/GrResourceCacheBench.cpp |
@@ -24,7 +24,7 @@ enum { |
class BenchResource : public GrGpuResource { |
public: |
BenchResource (GrGpu* gpu) |
- : INHERITED(gpu, kCached_LifeCycle) { |
+ : INHERITED(gpu, kCached_LifeCycle, GrGpuResource::kOther) { |
this->registerWithCache(); |
} |
@@ -36,6 +36,8 @@ public: |
} |
} |
+ GrRenderTarget* arrgh() override { return NULL; } |
+ |
private: |
size_t onGpuMemorySize() const override { return 100; } |
typedef GrGpuResource INHERITED; |