aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/text/SkTextLayout.h
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-21 20:25:03 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-21 20:25:03 +0000
commit15e9d3e66e161ce23df30bc13f8a0c87d196b463 (patch)
tree2cc4661f85d92a98de30e7bca582163321fc018d /include/text/SkTextLayout.h
parentc82a8b7aa4ec19fba508c394920a9e88d3e5bd12 (diff)
Expanded distribution of instance counting
Diffstat (limited to 'include/text/SkTextLayout.h')
-rw-r--r--include/text/SkTextLayout.h4
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 {