diff options
author | mtklein <mtklein@chromium.org> | 2015-06-26 11:45:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-26 11:45:03 -0700 |
commit | 2766c00fc0b6a07d46e5f74cdad45da2ef625237 (patch) | |
tree | 152a6169021ef393f5719d511becf9f81fec8c02 /src/core/SkPtrRecorder.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/core/SkPtrRecorder.h')
-rw-r--r-- | src/core/SkPtrRecorder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkPtrRecorder.h b/src/core/SkPtrRecorder.h index 83200f5275..325471ea71 100644 --- a/src/core/SkPtrRecorder.h +++ b/src/core/SkPtrRecorder.h @@ -22,7 +22,7 @@ */ class SkPtrSet : public SkRefCnt { public: - SK_DECLARE_INST_COUNT(SkPtrSet) + /** * Search for the specified ptr in the set. If it is found, return its @@ -144,7 +144,7 @@ class SkFactorySet : public SkTPtrSet<SkFlattenable::Factory> {}; */ class SkNamedFactorySet : public SkRefCnt { public: - SK_DECLARE_INST_COUNT(SkNamedFactorySet) + SkNamedFactorySet(); |