From fa35e3ddcc9d130ce87c927218bdf27879c38711 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Tue, 26 Jun 2012 20:16:17 +0000 Subject: plumb SkInstCnt to all subclasses of GrRefCnt git-svn-id: http://skia.googlecode.com/svn/trunk@4353 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/GrTextStrike.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gpu/GrTextStrike.cpp') diff --git a/src/gpu/GrTextStrike.cpp b/src/gpu/GrTextStrike.cpp index b8762adc11..e61c46e3b8 100644 --- a/src/gpu/GrTextStrike.cpp +++ b/src/gpu/GrTextStrike.cpp @@ -15,6 +15,11 @@ #include "GrTextStrike_impl.h" #include "GrRect.h" +SK_DEFINE_INST_COUNT(GrFontScaler) +SK_DEFINE_INST_COUNT(GrKey) + +/////////////////////////////////////////////////////////////////////////////// + GrFontCache::GrFontCache(GrGpu* gpu) : fGpu(gpu) { gpu->ref(); fAtlasMgr = NULL; -- cgit v1.2.3