diff options
author | 2012-04-23 15:04:44 +0000 | |
---|---|---|
committer | 2012-04-23 15:04:44 +0000 | |
commit | 098370137fc9c13acf1631bcc16d9ffbb0abf45f (patch) | |
tree | 2a40da6c22aceec2db9b06b97b52464f6432df1b /src/core/SkGlyphCache.h | |
parent | 331560e461a5ea12ebf2f0fba2371d0944b3a3a3 (diff) |
move FontCacheLimit implementations into SkGlyphCache.cpp, in prep for TLS
Review URL: https://codereview.appspot.com/6110043
git-svn-id: http://skia.googlecode.com/svn/trunk@3751 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkGlyphCache.h')
-rw-r--r-- | src/core/SkGlyphCache.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/SkGlyphCache.h b/src/core/SkGlyphCache.h index e1ab63530c..dfd2df8a96 100644 --- a/src/core/SkGlyphCache.h +++ b/src/core/SkGlyphCache.h @@ -156,18 +156,6 @@ public: return VisitCache(desc, DetachProc, NULL); } - /** Return the approximate number of bytes used by the font cache - */ - static size_t GetCacheUsed(); - - /** This can be called to purge old font data, in an attempt to free - enough bytes such that the font cache is not using more than the - specified number of bytes. It is thread-safe, and may be called at - any time. - Return true if some amount of the cache was purged. - */ - static bool SetCacheUsed(size_t bytesUsed); - #ifdef SK_DEBUG void validate() const; #else |