Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: include/lazy/SkImageCache.h

Issue 18461007: Fix two leaks & improve leak tracking (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/lazy/SkBitmapFactory.h ('k') | include/lazy/SkLruImageCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/lazy/SkImageCache.h
===================================================================
--- include/lazy/SkImageCache.h (revision 9995)
+++ include/lazy/SkImageCache.h (working copy)
@@ -17,6 +17,8 @@
class SkImageCache : public SkRefCnt {
public:
+ SK_DECLARE_INST_COUNT(SkImageCache)
+
typedef intptr_t ID;
/**
@@ -123,5 +125,8 @@
*/
virtual void purgeAllUnpinnedCaches() = 0;
#endif
+
+private:
+ typedef SkRefCnt INHERITED;
};
#endif // SkImageCache_DEFINED
« no previous file with comments | « include/lazy/SkBitmapFactory.h ('k') | include/lazy/SkLruImageCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698