diff options
Diffstat (limited to 'libs/hwui/TextureCache.h')
-rw-r--r-- | libs/hwui/TextureCache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/TextureCache.h b/libs/hwui/TextureCache.h index 31a2e3d7e81f..80bb22e27f09 100644 --- a/libs/hwui/TextureCache.h +++ b/libs/hwui/TextureCache.h @@ -19,12 +19,12 @@ #include <SkBitmap.h> +#include <utils/LruCache.h> #include <utils/Mutex.h> #include <utils/Vector.h> #include "Debug.h" #include "Texture.h" -#include "utils/GenerationCache.h" namespace android { namespace uirenderer { @@ -130,7 +130,7 @@ private: void init(); - GenerationCache<SkBitmap*, Texture*> mCache; + LruCache<SkBitmap*, Texture*> mCache; uint32_t mSize; uint32_t mMaxSize; |