commit | e55d11e11a016c6c9396002accf9cee022dbfeb5 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Mon Mar 29 14:49:35 2021 -0400 |
committer | Leon Scroggins <scroggo@google.com> | Mon Apr 12 13:36:03 2021 +0000 |
tree | 44e7bb23403a7ea1541b9718f6d97c195d3fe3e3 | |
parent | 219aba115bed9ba24397bed5231e4886b7390b25 [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