diff options
author | 2012-08-28 12:48:35 +0000 | |
---|---|---|
committer | 2012-08-28 12:48:35 +0000 | |
commit | 7edfb4939eb1fa642d4cc24d559c711555728259 (patch) | |
tree | 9a2c2ff8468c9eec6fb1311f01e62b2b61b28e16 /include | |
parent | fd875e80142c5c494ab95f0885b78e8a8ffc8716 (diff) |
need to declare INHERITED for the instcount macros
git-svn-id: http://skia.googlecode.com/svn/trunk@5309 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkImage.h | 2 | ||||
-rw-r--r-- | include/core/SkSurface.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h index 985a3bbbbb..2991b9a989 100644 --- a/include/core/SkImage.h +++ b/include/core/SkImage.h @@ -96,6 +96,8 @@ private: const uint32_t fUniqueID; static uint32_t NextUniqueID(); + + typedef SkRefCnt INHERITED; }; #endif diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h index 2034c8907c..2a9784bc0a 100644 --- a/include/core/SkSurface.h +++ b/include/core/SkSurface.h @@ -137,6 +137,8 @@ private: const int fWidth; const int fHeight; uint32_t fGenerationID; + + typedef SkRefCnt INHERITED; }; #endif |