diff options
author | 2015-06-26 11:45:03 -0700 | |
---|---|---|
committer | 2015-06-26 11:45:03 -0700 | |
commit | 2766c00fc0b6a07d46e5f74cdad45da2ef625237 (patch) | |
tree | 152a6169021ef393f5719d511becf9f81fec8c02 /src/gpu/GrStencilAttachment.h | |
parent | 46043ee50fe0532df6213172506fd16324b21e58 (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 'src/gpu/GrStencilAttachment.h')
-rw-r--r-- | src/gpu/GrStencilAttachment.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |