diff options
author | 2015-09-14 11:43:01 -0700 | |
---|---|---|
committer | 2015-09-14 11:43:01 -0700 | |
commit | 9d508ed8a4e45371234548da48e626b82d60d370 (patch) | |
tree | 957e0bb66d032abde24b55028aeb86e6159971fc | |
parent | 4aa427b964f22e3cf10381f8fc27e7042c322b9c (diff) |
Rename mBuf to mSlot in BufferItem
- All instances of mBuf have now been removed from the code base, so
remove the union and get rid of it.
Bug 19769719
Change-Id: I49db71a664702dd355bdb9efe6b955fee2d54531
-rw-r--r-- | include/gui/BufferItem.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/gui/BufferItem.h b/include/gui/BufferItem.h index 145efe6f60..504ac64e38 100644 --- a/include/gui/BufferItem.h +++ b/include/gui/BufferItem.h @@ -98,13 +98,8 @@ class BufferItem : public Flattenable<BufferItem> { }; }; - union { - // mSlot is the slot index of this buffer (default INVALID_BUFFER_SLOT). - int mSlot; - - // mBuf is the former name for mSlot - int mBuf; - }; + // mSlot is the slot index of this buffer (default INVALID_BUFFER_SLOT). + int mSlot; // mIsDroppable whether this buffer was queued with the // property that it can be replaced by a new buffer for the purpose of |