Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: include/core/SkGraphics.h

Issue 638903002: remove dead code from SK_SUPPORT_LEGACY_IMAGECACHE_NAME (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkGraphics.h
diff --git a/include/core/SkGraphics.h b/include/core/SkGraphics.h
index c154df1e404596a8dc4575136ce4ffab23e78af7..f326a3670faa3cb44d5a6f7666d0a233a2823e32 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:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698