| commit | 15e9d3e66e161ce23df30bc13f8a0c87d196b463 | [log] [tgz] |
|---|---|---|
| author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jun 21 20:25:03 2012 +0000 |
| committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jun 21 20:25:03 2012 +0000 |
| tree | 2cc4661f85d92a98de30e7bca582163321fc018d | |
| 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
diff --git a/include/text/SkTextLayout.h b/include/text/SkTextLayout.h index e1e3e56..3b12334 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 @@ private: SkPaint fPaint; + + typedef SkRefCnt INHERITED; }; class SkTextLayout {