summaryrefslogtreecommitdiff
path: root/include/gui/ConsumerBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/ConsumerBase.h')
-rw-r--r--include/gui/ConsumerBase.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/gui/ConsumerBase.h b/include/gui/ConsumerBase.h
index 891290bd42..7912528ba7 100644
--- a/include/gui/ConsumerBase.h
+++ b/include/gui/ConsumerBase.h
@@ -241,9 +241,7 @@ protected:
// mFrameAvailableListener is the listener object that will be called when a
// new frame becomes available. If it is not NULL it will be called from
- // queueBuffer. The listener object is protected by mFrameAvailableMutex
- // (not mMutex).
- Mutex mFrameAvailableMutex;
+ // queueBuffer.
wp<FrameAvailableListener> mFrameAvailableListener;
// The ConsumerBase has-a BufferQueue and is responsible for creating this object