summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/ClientCache.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2021-03-29 14:49:35 -0400
committer Leon Scroggins <scroggo@google.com> 2021-04-12 13:36:03 +0000
commite55d11e11a016c6c9396002accf9cee022dbfeb5 (patch)
tree44e7bb23403a7ea1541b9718f6d97c195d3fe3e3 /services/surfaceflinger/ClientCache.cpp
parent219aba115bed9ba24397bed5231e4886b7390b25 (diff)
Remove Flattener::mLayersHash
Bug:163076219 Test: make This field is computed and then immediately returned by another method. But it is never read again until it has been rewritten. The client of Flattener::flattenLayers stores the value, but this class doesn't need to store it, too. Remove the field, and switch updateLayersHash to computeLayersHash, which simply computes and returns the value. This is simpler and clearer. Change-Id: I065f1968bbe66e94180c57c54ba4f32a3a8ddf40
Diffstat (limited to 'services/surfaceflinger/ClientCache.cpp')
0 files changed, 0 insertions, 0 deletions