summaryrefslogtreecommitdiffstats
path: root/libs/hwui/LayerCache.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-08-12 14:23:53 -0700
committerRomain Guy <romainguy@google.com>2011-08-12 14:23:53 -0700
commite5df231434357424cea8d2b8d0cdf31253a98110 (patch)
treeaf027aa4179ea0885c45472d8364101f7ab885f7 /libs/hwui/LayerCache.h
parent1329192fc317b60a4ebcc4d058d8545f6f8743aa (diff)
downloadframeworks_base-e5df231434357424cea8d2b8d0cdf31253a98110.zip
frameworks_base-e5df231434357424cea8d2b8d0cdf31253a98110.tar.gz
frameworks_base-e5df231434357424cea8d2b8d0cdf31253a98110.tar.bz2
Make sure we correctly copy caches keys.
Bug #5136067 Change-Id: I366e840bef44415436dc7b13d89cfb610feed663
Diffstat (limited to 'libs/hwui/LayerCache.h')
-rw-r--r--libs/hwui/LayerCache.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/hwui/LayerCache.h b/libs/hwui/LayerCache.h
index a0eae59..63bb824 100644
--- a/libs/hwui/LayerCache.h
+++ b/libs/hwui/LayerCache.h
@@ -119,10 +119,6 @@ private:
mHeight = uint32_t(ceilf(layerHeight / float(LAYER_SIZE)) * LAYER_SIZE);
}
- LayerEntry(const LayerEntry& entry):
- mLayer(entry.mLayer), mWidth(entry.mWidth), mHeight(entry.mHeight) {
- }
-
LayerEntry(Layer* layer):
mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) {
}