Index: src/core/SkScaledImageCache.cpp |
diff --git a/src/core/SkScaledImageCache.cpp b/src/core/SkScaledImageCache.cpp |
index d87597315f034121d0e7e6effe1a16f0732a3a1f..2bc692a51b10f3a75e109f2a4e6e662959b4b7a8 100644 |
--- a/src/core/SkScaledImageCache.cpp |
+++ b/src/core/SkScaledImageCache.cpp |
@@ -192,6 +192,7 @@ void SkScaledImageCache::init() { |
class SkOneShotDiscardablePixelRef : public SkPixelRef { |
public: |
+ SK_DECLARE_INST_COUNT(SkOneShotDiscardablePixelRef) |
// Ownership of the discardablememory is transfered to the pixelref |
SkOneShotDiscardablePixelRef(const SkImageInfo&, SkDiscardableMemory*, size_t rowBytes); |
~SkOneShotDiscardablePixelRef(); |