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 /include/utils | |
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 'include/utils')
-rw-r--r-- | include/utils/SkBoundaryPatch.h | 2 | ||||
-rw-r--r-- | include/utils/SkDumpCanvas.h | 2 | ||||
-rw-r--r-- | include/utils/SkLayer.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/utils/SkBoundaryPatch.h b/include/utils/SkBoundaryPatch.h index cf001d5ba8..f8edd594b9 100644 --- a/include/utils/SkBoundaryPatch.h +++ b/include/utils/SkBoundaryPatch.h @@ -13,7 +13,7 @@ class SkBoundary : public SkRefCnt { public: - SK_DECLARE_INST_COUNT(SkBoundary) + // These must be 0, 1, 2, 3 for efficiency in the subclass implementations enum Edge { diff --git a/include/utils/SkDumpCanvas.h b/include/utils/SkDumpCanvas.h index cbae148a16..b825b39adf 100644 --- a/include/utils/SkDumpCanvas.h +++ b/include/utils/SkDumpCanvas.h @@ -57,7 +57,7 @@ public: */ class Dumper : public SkRefCnt { public: - SK_DECLARE_INST_COUNT(Dumper) + virtual void dump(SkDumpCanvas*, SkDumpCanvas::Verb, const char str[], const SkPaint*) = 0; diff --git a/include/utils/SkLayer.h b/include/utils/SkLayer.h index 70fa01bfe7..7fdc6b2208 100644 --- a/include/utils/SkLayer.h +++ b/include/utils/SkLayer.h @@ -23,7 +23,7 @@ class SkCanvas; class SkLayer : public SkRefCnt { public: - SK_DECLARE_INST_COUNT(SkLayer) + SkLayer(); SkLayer(const SkLayer&); |