Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / include / core / SkGraphics.h
index c154df1..b2fc365 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
  * Copyright 2006 The Android Open Source Project
  *
@@ -6,7 +5,6 @@
  * found in the LICENSE file.
  */
 
-
 #ifndef SkGraphics_DEFINED
 #define SkGraphics_DEFINED
 
@@ -113,33 +111,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:
@@ -169,13 +140,6 @@ public:
      *  global font cache.
      */
     static void SetTLSFontCacheLimit(size_t bytes);
-
-private:
-    /** This is automatically called by SkGraphics::Init(), and must be
-        implemented by the host OS. This allows the host OS to register a callback
-        with the C++ runtime to call SkGraphics::FreeCaches()
-    */
-    static void InstallNewHandler();
 };
 
 class SkAutoGraphics {