diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-16 14:58:06 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-16 14:58:06 +0000 |
commit | a22e2117e44efa4298dd0eb6df304a8166c8e9c3 (patch) | |
tree | 727738c19786a7c5caf1e09ccfe431b652d8b302 /include/views/SkEventSink.h | |
parent | 1f47f4f7325971dd53991e2bb02da94fa7c6d962 (diff) |
Extended Inst counting to find "unknown" leaked object (SkTMaskGamma)
http://codereview.appspot.com/6453127/
git-svn-id: http://skia.googlecode.com/svn/trunk@5123 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/views/SkEventSink.h')
-rw-r--r-- | include/views/SkEventSink.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/views/SkEventSink.h b/include/views/SkEventSink.h index 69981facff..8ef92b408a 100644 --- a/include/views/SkEventSink.h +++ b/include/views/SkEventSink.h @@ -21,7 +21,9 @@ struct SkTagList; */ class SkEventSink : public SkRefCnt { public: - SkEventSink(); + SK_DECLARE_INST_COUNT(SkEventSink) + + SkEventSink(); virtual ~SkEventSink(); /** @@ -103,6 +105,8 @@ private: // for our private link-list SkEventSink* fNextSink; + + typedef SkRefCnt INHERITED; }; #endif |