Index: src/core/SkPictureShader.cpp |
diff --git a/src/core/SkPictureShader.cpp b/src/core/SkPictureShader.cpp |
index e04e248756ea90e4d4a27ed003fbbf8f2acaa9b6..55fba5f4d2c62fde24649a46bd7206fe5679d37b 100644 |
--- a/src/core/SkPictureShader.cpp |
+++ b/src/core/SkPictureShader.cpp |
@@ -75,6 +75,8 @@ struct BitmapShaderRec : public SkResourceCache::Rec { |
size_t bytesUsed() const override { |
return sizeof(fKey) + sizeof(SkShader) + fBitmapBytes; |
} |
+ const char* getCategory() const override { return "bitmap-shader"; } |
+ SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } |
static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextShader) { |
const BitmapShaderRec& rec = static_cast<const BitmapShaderRec&>(baseRec); |