summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author Chris Craik <ccraik@android.com> 2014-02-26 18:48:27 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-02-26 18:48:27 +0000
commit2729857df6c559b37248c96b78303b662212d14b (patch)
treef0b38647989a1d47e98282abbbb6ddb2b5beb6f9 /libs
parentc3bac8a096cc5661cf91c8c0aa9b7dd0fc099c5d (diff)
parent2c42b79c6ce5a1229e7f6cccb4b39b54435737c8 (diff)
Merge "Fix AOSP build - DO NOT MERGE"
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/TextureCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/TextureCache.cpp b/libs/hwui/TextureCache.cpp
index 54a206bb2955..ad235a94bb00 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++) {
- const SkBitmap* bitmap = mGarbage.itemAt(i);
+ SkBitmap* bitmap = mGarbage.itemAt(i);
mCache.remove(bitmap);
delete bitmap;
}