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

Unified Diff: webrtc/modules/audio_device/audio_device_impl.h

Issue 2785673002: Remove more CriticalSectionWrappers. (Closed)
Patch Set: Created 3 years, 9 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
Index: webrtc/modules/audio_device/audio_device_impl.h
diff --git a/webrtc/modules/audio_device/audio_device_impl.h b/webrtc/modules/audio_device/audio_device_impl.h
index 034690f6b25b14c80ba8854b256de914efb8beb9..709eb769bdd43a8385a9332783108009c9d99f04 100644
--- a/webrtc/modules/audio_device/audio_device_impl.h
+++ b/webrtc/modules/audio_device/audio_device_impl.h
@@ -16,6 +16,7 @@
#include <memory>
#include "webrtc/base/checks.h"
+#include "webrtc/base/criticalsection.h"
#include "webrtc/modules/audio_device/audio_device_buffer.h"
#include "webrtc/modules/audio_device/include/audio_device.h"
@@ -23,7 +24,6 @@ namespace webrtc {
class AudioDeviceGeneric;
class AudioManager;
-class CriticalSectionWrapper;
class AudioDeviceModuleImpl : public AudioDeviceModule {
public:
@@ -203,9 +203,9 @@ class AudioDeviceModuleImpl : public AudioDeviceModule {
PlatformType Platform() const;
AudioLayer PlatformAudioLayer() const;
- CriticalSectionWrapper& _critSect;
- CriticalSectionWrapper& _critSectEventCb;
- CriticalSectionWrapper& _critSectAudioCb;
+ rtc::CriticalSection _critSect;
+ rtc::CriticalSection _critSectEventCb;
+ rtc::CriticalSection _critSectAudioCb;
AudioDeviceObserver* _ptrCbAudioDeviceObserver;
« no previous file with comments | « webrtc/modules/audio_conference_mixer/source/time_scheduler.cc ('k') | webrtc/modules/audio_device/audio_device_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698