Fix klp-modular-dev-plus-aosp build
Change-Id: I546dfef29b5875633de18f6a7e3f419a0d012faa
This commit is contained in:
@@ -184,7 +184,7 @@ void TextureCache::clearGarbage() {
|
|||||||
Mutex::Autolock _l(mLock);
|
Mutex::Autolock _l(mLock);
|
||||||
size_t count = mGarbage.size();
|
size_t count = mGarbage.size();
|
||||||
for (size_t i = 0; i < count; i++) {
|
for (size_t i = 0; i < count; i++) {
|
||||||
const SkBitmap* bitmap = mGarbage.itemAt(i);
|
SkBitmap* bitmap = mGarbage.itemAt(i);
|
||||||
mCache.remove(bitmap);
|
mCache.remove(bitmap);
|
||||||
delete bitmap;
|
delete bitmap;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user