aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
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 /src/core
parent82ce2b8afb7c13c2a9f1b549a2a80dfca06bbf61 (diff)
more SkInstCnt plumbing
git-svn-id: http://skia.googlecode.com/svn/trunk@4344 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkRefCnt.cpp2
-rw-r--r--src/core/SkTypeface.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkRefCnt.cpp b/src/core/SkRefCnt.cpp
index 599e7f269e..773e0d9072 100644
--- a/src/core/SkRefCnt.cpp
+++ b/src/core/SkRefCnt.cpp
@@ -7,6 +7,8 @@
#include "SkRefCnt.h"
+#include "SkWeakRefCnt.h"
SK_DEFINE_INST_COUNT(SkRefCnt)
+SK_DEFINE_INST_COUNT(SkWeakRefCnt)
diff --git a/src/core/SkTypeface.cpp b/src/core/SkTypeface.cpp
index 77ad9ce8f7..66e7904cd2 100644
--- a/src/core/SkTypeface.cpp
+++ b/src/core/SkTypeface.cpp
@@ -11,6 +11,8 @@
#include "SkTypeface.h"
#include "SkFontHost.h"
+SK_DEFINE_INST_COUNT(SkTypeface)
+
//#define TRACE_LIFECYCLE
#ifdef TRACE_LIFECYCLE