diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-17 13:50:36 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-17 13:50:36 +0000 |
commit | 803c67dbd766185a1d72eda2561df006d2ecf382 (patch) | |
tree | f9019b448762a273ee229150dc6e633472d24d17 /include | |
parent | 6172d67d1ca81876333d6753e7ce407e2d6d9c3f (diff) | |
download | skia-803c67dbd766185a1d72eda2561df006d2ecf382.tar.gz |
change SetTLSFontCacheLimit to be void, since it doesn't easily know the prev value
git-svn-id: http://skia.googlecode.com/svn/trunk@3987 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkGraphics.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/core/SkGraphics.h b/include/core/SkGraphics.h index 3cfd70ffc2..3247dc2b02 100644 --- a/include/core/SkGraphics.h +++ b/include/core/SkGraphics.h @@ -80,13 +80,10 @@ public: /** * Specify the max number of bytes that should be used by the thread-local - * font cache. If this value is zero (the default), then this thread will - * share the global font cache and its limit. - * - * This function returns the previous setting, as if GetFontCacheLimit() - * had be called before the new limit was set. + * font cache. If this value is 0, then this thread will use the shared + * global font cache. */ - static size_t SetTLSFontCacheLimit(size_t bytes); + static void SetTLSFontCacheLimit(size_t bytes); private: /** This is automatically called by SkGraphics::Init(), and must be |