summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2017-11-29 10:05:15 -0800
committer chaviw <chaviw@google.com> 2017-11-29 10:07:37 -0800
commit8ea97bbe9b5097feaa76926c6ac49120e0fc3649 (patch)
tree67ebb78db505c7d5eaac7c3b0f01204ea702dc46 /libs/gui/ConsumerBase.cpp
parent503b79e3db0d6dce40ea0a8e17bbffd6f6176123 (diff)
Remove from top layer list if re-parenting top layer.
If a layer is given a parent when it originally didn't have one, remove the layer from the top layer list. This is to ensure the layer isn't in duplicate places and that it can get properly cleaned up. Test: Transaction_test#ReparentFromNoParent successfully removes layer when test completes. Change-Id: I1f1c4ee386626c1ef2e3a2e50324ec336d234d5b
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions