aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/UtilsTest.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-06-26 11:45:03 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-26 11:45:03 -0700
commit2766c00fc0b6a07d46e5f74cdad45da2ef625237 (patch)
tree152a6169021ef393f5719d511becf9f81fec8c02 /tests/UtilsTest.cpp
parent46043ee50fe0532df6213172506fd16324b21e58 (diff)
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
Diffstat (limited to 'tests/UtilsTest.cpp')
-rw-r--r--tests/UtilsTest.cpp2
1 files changed, 1 insertions, 1 deletions
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; }