diff options
Diffstat (limited to 'include/gpu/GrKey.h')
-rw-r--r-- | include/gpu/GrKey.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gpu/GrKey.h b/include/gpu/GrKey.h index 813d82d920..17d00de1b5 100644 --- a/include/gpu/GrKey.h +++ b/include/gpu/GrKey.h @@ -15,6 +15,8 @@ class GrKey : public GrRefCnt { public: + SK_DECLARE_INST_COUNT(GrKey) + typedef intptr_t Hash; explicit GrKey(Hash hash) : fHash(hash) {} @@ -34,6 +36,8 @@ protected: private: const Hash fHash; + + typedef GrRefCnt INHERITED; }; #endif |