Index: include/core/SkRefCnt.h |
diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h |
index 41c78293fa7f2824d9ecc755c085d7242b845ab2..1724c77d8dc3b136d23915a886b820a3379f36d6 100644 |
--- a/include/core/SkRefCnt.h |
+++ b/include/core/SkRefCnt.h |
@@ -37,7 +37,7 @@ public: |
*/ |
virtual ~SkRefCntBase() { |
#ifdef SK_DEBUG |
- SkASSERT(fRefCnt == 1); |
+ SkASSERTF(fRefCnt == 1, "fRefCnt was %d", fRefCnt); |
fRefCnt = 0; // illegal value, to catch us if we reuse after delete |
#endif |
} |