Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d508ed8 authored by Pablo Ceballos's avatar Pablo Ceballos
Browse files

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
parent 4aa427b9
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -98,14 +98,9 @@ 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;
    };

    // mIsDroppable whether this buffer was queued with the
    // property that it can be replaced by a new buffer for the purpose of
    // making sure dequeueBuffer() won't block.