commit | 28d8ff6dbcc1b137131c70b72b4dbd211db7fbd9 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Aug 22 14:01:34 2011 -0700 |
committer | Romain Guy <romainguy@google.com> | Mon Aug 22 14:01:34 2011 -0700 |
tree | 38a49302ac1bd3c05a85bb09ce26e5c5d45debd6 | |
parent | 6d97842849bed82affbd45251529f85f0958a6b8 [diff] [blame] |
Move constants to the correct header Change-Id: Id4bd14f72487bd7156cd2e1930eaf97b47896273
diff --git a/libs/hwui/LayerCache.cpp b/libs/hwui/LayerCache.cpp index 0af0177..5298125 100644 --- a/libs/hwui/LayerCache.cpp +++ b/libs/hwui/LayerCache.cpp
@@ -162,7 +162,7 @@ // TODO: Use an LRU while (mSize + size > mMaxSize) { size_t position = 0; -#if LAYER_REMOVE_BIGGEST +#if LAYER_REMOVE_BIGGEST_FIRST position = mCache.size() - 1; #endif Layer* victim = mCache.itemAt(position).mLayer;