aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkWeakRefCnt.h
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-26 17:55:30 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-26 17:55:30 +0000
commitfcb57b5570ec8b3176d4025d4c44d145591f819c (patch)
tree22636e5d64cf8e55678dcdccee2471516895406c /include/core/SkWeakRefCnt.h
parent82ce2b8afb7c13c2a9f1b549a2a80dfca06bbf61 (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.h2
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