aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
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