diff options
Diffstat (limited to 'libs/hwui')
-rw-r--r-- | libs/hwui/TextureCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/TextureCache.cpp b/libs/hwui/TextureCache.cpp index ad235a9..54a206b 100644 --- a/libs/hwui/TextureCache.cpp +++ b/libs/hwui/TextureCache.cpp @@ -184,7 +184,7 @@ void TextureCache::clearGarbage() { Mutex::Autolock _l(mLock); size_t count = mGarbage.size(); for (size_t i = 0; i < count; i++) { - SkBitmap* bitmap = mGarbage.itemAt(i); + const SkBitmap* bitmap = mGarbage.itemAt(i); mCache.remove(bitmap); delete bitmap; } |