diff options
author | 2012-06-26 17:55:30 +0000 | |
---|---|---|
committer | 2012-06-26 17:55:30 +0000 | |
commit | fcb57b5570ec8b3176d4025d4c44d145591f819c (patch) | |
tree | 22636e5d64cf8e55678dcdccee2471516895406c /include/core/SkWeakRefCnt.h | |
parent | 82ce2b8afb7c13c2a9f1b549a2a80dfca06bbf61 (diff) |
more SkInstCnt plumbing
git-svn-id: http://skia.googlecode.com/svn/trunk@4344 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkWeakRefCnt.h')
-rw-r--r-- | include/core/SkWeakRefCnt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkWeakRefCnt.h b/include/core/SkWeakRefCnt.h index a407623068..e6871fe4d2 100644 --- a/include/core/SkWeakRefCnt.h +++ b/include/core/SkWeakRefCnt.h @@ -51,6 +51,8 @@ */ class SK_API SkWeakRefCnt : public SkRefCnt { public: + SK_DECLARE_INST_COUNT(SkWeakRefCnt) + /** Default construct, initializing the reference counts to 1. The strong references collectively hold one weak reference. When the strong reference count goes to zero, the collectively held weak |