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

Unified Diff: webrtc/audio/audio_state.h

Issue 1613643004: Remove mutable from rtc::CriticalSection members. (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 | « talk/media/devices/yuvframescapturer.cc ('k') | webrtc/base/bufferqueue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/audio/audio_state.h
diff --git a/webrtc/audio/audio_state.h b/webrtc/audio/audio_state.h
index 2cb83e4989f64bda37f9f0625ea869552113749d..6bee3c6b9995b50fea8b59b29f245efbbd3cdf2e 100644
--- a/webrtc/audio/audio_state.h
+++ b/webrtc/audio/audio_state.h
@@ -47,7 +47,7 @@ class AudioState final : public webrtc::AudioState,
// The critical section isn't strictly needed in this case, but xSAN bots may
// trigger on unprotected cross-thread access.
- mutable rtc::CriticalSection crit_sect_;
+ rtc::CriticalSection crit_sect_;
bool typing_noise_detected_ GUARDED_BY(crit_sect_) = false;
// Reference count; implementation copied from rtc::RefCountedObject.
« no previous file with comments | « talk/media/devices/yuvframescapturer.cc ('k') | webrtc/base/bufferqueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698