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 --- src/gpu/GrStencilAttachment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/GrStencilAttachment.h') diff --git a/src/gpu/GrStencilAttachment.h b/src/gpu/GrStencilAttachment.h index ba9781d4ce..2aa8e8ce55 100644 --- a/src/gpu/GrStencilAttachment.h +++ b/src/gpu/GrStencilAttachment.h @@ -18,7 +18,7 @@ class GrResourceKey; class GrStencilAttachment : public GrGpuResource { public: - SK_DECLARE_INST_COUNT(GrStencilAttachment); + virtual ~GrStencilAttachment() { // TODO: allow SB to be purged and detach itself from rts -- cgit v1.2.3