From 2766c00fc0b6a07d46e5f74cdad45da2ef625237 Mon Sep 17 00:00:00 2001 From: mtklein Date: Fri, 26 Jun 2015 11:45:03 -0700 Subject: remove SkInstCnt It's been outclassed by Valgrind and leak sanitizer, and it seems to be causing problems for external folks building Skia. I'm not sure why our own builds seem unaffected. Latest thread: https://groups.google.com/forum/#!topic/skia-discuss/oj9FsQwwSF0 BUG=skia: Review URL: https://codereview.chromium.org/1217573002 --- tests/UtilsTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/UtilsTest.cpp') diff --git a/tests/UtilsTest.cpp b/tests/UtilsTest.cpp index 81e6492f3c..6db8104acc 100644 --- a/tests/UtilsTest.cpp +++ b/tests/UtilsTest.cpp @@ -14,7 +14,7 @@ class RefClass : public SkRefCnt { public: - SK_DECLARE_INST_COUNT(RefClass) + RefClass(int n) : fN(n) {} int get() const { return fN; } -- cgit v1.2.3