Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: webrtc/video/vie_channel.h

Issue 1652983002: Remove mutable from rtc::CriticalSections. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/video/video_capture_input.h ('k') | webrtc/video/vie_encoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/vie_channel.h
diff --git a/webrtc/video/vie_channel.h b/webrtc/video/vie_channel.h
index 7737d6acbfb3e25ae4a8ca968e3911f1f8a85a41..9f5e1ff90de397f6579b300282af48f9e2a2017f 100644
--- a/webrtc/video/vie_channel.h
+++ b/webrtc/video/vie_channel.h
@@ -332,7 +332,7 @@ class ViEChannel : public VCMFrameTypeCallback,
// Note: this should be implemented with a RW-lock to allow simultaneous
// calls into the callback. However that doesn't seem to be needed for the
// current type of callbacks covered by this class.
- mutable rtc::CriticalSection critsect_;
+ rtc::CriticalSection critsect_;
T* callback_ GUARDED_BY(critsect_);
private:
@@ -403,7 +403,7 @@ class ViEChannel : public VCMFrameTypeCallback,
ProcessThread* const module_process_thread_;
// Used for all registered callbacks except rendering.
- mutable rtc::CriticalSection crit_;
+ rtc::CriticalSection crit_;
// Owned modules/classes.
rtc::scoped_refptr<PayloadRouter> send_payload_router_;
« no previous file with comments | « webrtc/video/video_capture_input.h ('k') | webrtc/video/vie_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698