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; |