diff options
author | 2014-08-25 06:20:13 -0700 | |
---|---|---|
committer | 2014-08-25 06:20:13 -0700 | |
commit | a5c0863d983b8beb69afab51947ddb87dfe97064 (patch) | |
tree | bfd958f30f8439c37f2775ec869f6082970a5e65 | |
parent | 045bb7f00b217e7726d517acf783c661bd6f639e (diff) |
remove SkPurgeGlobalDiscardableMemoryPool
BUG=skia:2721
R=reed@google.com
Author: halcanary@google.com
Review URL: https://codereview.chromium.org/495453004
-rw-r--r-- | include/core/SkImageGenerator.h | 6 | ||||
-rw-r--r-- | src/lazy/SkDiscardableMemoryPool.cpp | 4 |
2 files changed, 0 insertions, 10 deletions
diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h index 17477e37b3..4eb5cf85d6 100644 --- a/include/core/SkImageGenerator.h +++ b/include/core/SkImageGenerator.h @@ -35,12 +35,6 @@ class SkImageGenerator; */ SK_API bool SkInstallDiscardablePixelRef(SkImageGenerator*, SkBitmap* destination); -/** - * Purges all unlocked discardable memory in Skia's global - * discardable memory pool. - */ -SK_API void SkPurgeGlobalDiscardableMemoryPool(); - /** * An interface that allows a purgeable PixelRef (such as a diff --git a/src/lazy/SkDiscardableMemoryPool.cpp b/src/lazy/SkDiscardableMemoryPool.cpp index a02f73c938..6c13951aa8 100644 --- a/src/lazy/SkDiscardableMemoryPool.cpp +++ b/src/lazy/SkDiscardableMemoryPool.cpp @@ -265,8 +265,4 @@ SkDiscardableMemoryPool* SkGetGlobalDiscardableMemoryPool() { return global.get(); } -// defined in SkImageGenerator.h -void SkPurgeGlobalDiscardableMemoryPool() { - SkGetGlobalDiscardableMemoryPool()->dumpPool(); -} //////////////////////////////////////////////////////////////////////////////// |