Index: tests/ImageCacheTest.cpp |
diff --git a/tests/ImageCacheTest.cpp b/tests/ImageCacheTest.cpp |
index 2244bb0a53f66334173c9c9fda04f7f11d034f2f..e2efe971d0c252048191aa2026a561e610e60ed1 100644 |
--- a/tests/ImageCacheTest.cpp |
+++ b/tests/ImageCacheTest.cpp |
@@ -26,6 +26,8 @@ struct TestingRec : public SkResourceCache::Rec { |
const Key& getKey() const override { return fKey; } |
size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } |
+ const char* getCategory() const override { return "test_cache"; } |
+ SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return NULL; } |
static bool Visitor(const SkResourceCache::Rec& baseRec, void* context) { |
const TestingRec& rec = static_cast<const TestingRec&>(baseRec); |