aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkDeviceProfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkDeviceProfile.h')
-rw-r--r--include/core/SkDeviceProfile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/core/SkDeviceProfile.h b/include/core/SkDeviceProfile.h
index 46b9781f93..49214c59ac 100644
--- a/include/core/SkDeviceProfile.h
+++ b/include/core/SkDeviceProfile.h
@@ -12,6 +12,8 @@
class SkDeviceProfile : public SkRefCnt {
public:
+ SK_DECLARE_INST_COUNT(SkDeviceProfile)
+
enum LCDConfig {
kNone_LCDConfig, // disables LCD text rendering, uses A8 instead
kRGB_Horizontal_LCDConfig,
@@ -89,6 +91,8 @@ private:
float fContrastScale;
LCDConfig fLCDConfig;
FontHintLevel fFontHintLevel;
+
+ typedef SkRefCnt INHERITED;
};
#endif