Index: webrtc/modules/audio_device/mac/audio_device_mac.h |
diff --git a/webrtc/modules/audio_device/mac/audio_device_mac.h b/webrtc/modules/audio_device/mac/audio_device_mac.h |
index ccde6f00d2cc89a6ca9a6ee86b39f0fff9ec752d..52b44eb4ffb428c3d67dc454cfcc34ca36a82664 100644 |
--- a/webrtc/modules/audio_device/mac/audio_device_mac.h |
+++ b/webrtc/modules/audio_device/mac/audio_device_mac.h |
@@ -13,10 +13,11 @@ |
#include <memory> |
+#include "webrtc/base/criticalsection.h" |
#include "webrtc/base/thread_annotations.h" |
#include "webrtc/modules/audio_device/audio_device_generic.h" |
#include "webrtc/modules/audio_device/mac/audio_mixer_manager_mac.h" |
-#include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
+#include "webrtc/system_wrappers/include/event_wrapper.h" |
#include <AudioToolbox/AudioConverter.h> |
#include <CoreAudio/CoreAudio.h> |
@@ -283,7 +284,7 @@ class AudioDeviceMac : public AudioDeviceGeneric { |
AudioDeviceBuffer* _ptrAudioBuffer; |
- CriticalSectionWrapper& _critSect; |
+ rtc::CriticalSection _critSect; |
EventWrapper& _stopEventRec; |
EventWrapper& _stopEvent; |