diff options
author | 2012-06-21 20:25:03 +0000 | |
---|---|---|
committer | 2012-06-21 20:25:03 +0000 | |
commit | 15e9d3e66e161ce23df30bc13f8a0c87d196b463 (patch) | |
tree | 2cc4661f85d92a98de30e7bca582163321fc018d /include/text/SkTextLayout.h | |
parent | c82a8b7aa4ec19fba508c394920a9e88d3e5bd12 (diff) |
Expanded distribution of instance counting
http://codereview.appspot.com/6300114/
git-svn-id: http://skia.googlecode.com/svn/trunk@4291 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/text/SkTextLayout.h')
-rw-r--r-- | include/text/SkTextLayout.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/text/SkTextLayout.h b/include/text/SkTextLayout.h index e1e3e563e8..3b123343e8 100644 --- a/include/text/SkTextLayout.h +++ b/include/text/SkTextLayout.h @@ -13,6 +13,8 @@ class SkTextStyle : public SkRefCnt { public: + SK_DECLARE_INST_COUNT(SkTextStyle) + SkTextStyle(); SkTextStyle(const SkTextStyle&); explicit SkTextStyle(const SkPaint&); @@ -25,6 +27,8 @@ public: private: SkPaint fPaint; + + typedef SkRefCnt INHERITED; }; class SkTextLayout { |