Chromium Code Reviews| Index: include/core/SkGraphics.h |
| diff --git a/include/core/SkGraphics.h b/include/core/SkGraphics.h |
| index c87604259077e82486f793d79d1ed66f093d7739..0e589274e2423c52e324406be06a765a511700f2 100644 |
| --- a/include/core/SkGraphics.h |
| +++ b/include/core/SkGraphics.h |
| @@ -12,6 +12,8 @@ |
| #include "SkTypes.h" |
| +class SkDiscardableMemoryFactory; |
| + |
| class SK_API SkGraphics { |
| public: |
| /** |
| @@ -64,6 +66,9 @@ public: |
| static size_t GetImageCacheByteLimit(); |
| static size_t SetImageCacheByteLimit(size_t newLimit); |
| + static void SetSkDiscardableMemoryFactory( |
|
scroggo
2013/08/15 14:06:06
Once SetSkDiscardableMemoryFactory does something,
ernstm
2013/08/15 20:26:37
Replaced SkDiscardableMemoryFactory by a factory f
|
| + SkDiscardableMemoryFactory* factory); |
| + |
| /** |
| * Applications with command line options may pass optional state, such |
| * as cache sizes, here, for instance: |