Index: webrtc/voice_engine/channel_manager.h |
diff --git a/webrtc/voice_engine/channel_manager.h b/webrtc/voice_engine/channel_manager.h |
index 4c0cede483f29486028ec39e8237908c9168a6cc..a46d71dc4435f2edd9c3f25e1f258a07c38c8b2c 100644 |
--- a/webrtc/voice_engine/channel_manager.h |
+++ b/webrtc/voice_engine/channel_manager.h |
@@ -14,10 +14,10 @@ |
#include <vector> |
#include "webrtc/base/constructormagic.h" |
+#include "webrtc/base/criticalsection.h" |
#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/call/rtc_event_log.h" |
#include "webrtc/system_wrappers/include/atomic32.h" |
-#include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
#include "webrtc/typedefs.h" |
namespace webrtc { |
@@ -123,7 +123,7 @@ class ChannelManager { |
Atomic32 last_channel_id_; |
- rtc::scoped_ptr<CriticalSectionWrapper> lock_; |
+ mutable rtc::CriticalSection lock_; |
std::vector<ChannelOwner> channels_; |
const Config& config_; |