From 3d7d410ce57803b73c6d4771f6ad1467a4a2c07b Mon Sep 17 00:00:00 2001 From: reed Date: Wed, 8 Oct 2014 06:23:29 -0700 Subject: [PATCH] remove dead code from SK_SUPPORT_LEGACY_IMAGECACHE_NAME TBR= Review URL: https://codereview.chromium.org/638903002 --- include/core/SkGraphics.h | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/include/core/SkGraphics.h b/include/core/SkGraphics.h index c154df1e40..f326a3670f 100644 --- a/include/core/SkGraphics.h +++ b/include/core/SkGraphics.h @@ -113,33 +113,6 @@ public: static size_t GetResourceCacheSingleAllocationByteLimit(); static size_t SetResourceCacheSingleAllocationByteLimit(size_t newLimit); -#ifdef SK_SUPPORT_LEGACY_IMAGECACHE_NAME - static size_t GetImageCacheBytesUsed() { - return GetImageCacheTotalBytesUsed(); - } - static size_t GetImageCacheByteLimit() { - return GetImageCacheTotalByteLimit(); - } - static size_t SetImageCacheByteLimit(size_t newLimit) { - return SetImageCacheTotalByteLimit(newLimit); - } - static size_t GetImageCacheTotalBytesUsed() { - return GetResourceCacheTotalBytesUsed(); - } - static size_t GetImageCacheTotalByteLimit() { - return GetResourceCacheTotalByteLimit(); - } - static size_t SetImageCacheTotalByteLimit(size_t newLimit) { - return SetResourceCacheTotalByteLimit(newLimit); - } - static size_t GetImageCacheSingleAllocationByteLimit() { - return GetResourceCacheSingleAllocationByteLimit(); - } - static size_t SetImageCacheSingleAllocationByteLimit(size_t newLimit) { - return SetResourceCacheSingleAllocationByteLimit(newLimit); - } -#endif - /** * Applications with command line options may pass optional state, such * as cache sizes, here, for instance: