summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Chia-I Wu <olv@google.com> 2017-11-16 14:54:07 -0800
committer Chia-I Wu <olv@google.com> 2017-12-08 13:59:27 -0800
commitcacfcc669e978964cc8c4cd42ada3677c54b74c3 (patch)
tree0dcdbe6a067436b4897f8bad955eef6b0fbeb4b7 /libs/gui/ConsumerBase.cpp
parente3362a79fd92ce4ea358a506f3dc90eb38f3105a (diff)
libgui: add helper to find CpuConsumer::AcquiredBuffer
Add CpuConsumer::findAcquiredBufferLocked. Rename mBufferPointer to mLockedBufferId. This also fixes a nullptr-dereference when unlockBuffer is called with a LockedBuffer whose data is nullptr. Test: libgui_test Change-Id: I36c665099f145731197a6ff8ab940c5d7a326df8
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions