Remove mutable from rtc::CriticalSection members.
rtc::CriticalSection is now lockable from const methods and no longer need to remain mutable. BUG= R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1613643004 Cr-Commit-Position: refs/heads/master@{#11367}
This commit is contained in:
@ -77,9 +77,9 @@ class IncomingVideoStream : public VideoRenderCallback {
|
||||
uint32_t const stream_id_;
|
||||
const bool disable_prerenderer_smoothing_;
|
||||
// Critsects in allowed to enter order.
|
||||
mutable rtc::CriticalSection stream_critsect_;
|
||||
mutable rtc::CriticalSection thread_critsect_;
|
||||
mutable rtc::CriticalSection buffer_critsect_;
|
||||
rtc::CriticalSection stream_critsect_;
|
||||
rtc::CriticalSection thread_critsect_;
|
||||
rtc::CriticalSection buffer_critsect_;
|
||||
// TODO(pbos): Make plain member and stop resetting this thread, just
|
||||
// start/stoping it is enough.
|
||||
rtc::scoped_ptr<rtc::PlatformThread> incoming_render_thread_
|
||||
|
||||
Reference in New Issue
Block a user