Index: webrtc/voice_engine/statistics.h |
diff --git a/webrtc/voice_engine/statistics.h b/webrtc/voice_engine/statistics.h |
index 3dab91625d16920825822ae25c388d948e71e2fc..e853e6854e7a65a32fba073217bdabf65fa66699 100644 |
--- a/webrtc/voice_engine/statistics.h |
+++ b/webrtc/voice_engine/statistics.h |
@@ -11,14 +11,13 @@ |
#ifndef WEBRTC_VOICE_ENGINE_STATISTICS_H |
#define WEBRTC_VOICE_ENGINE_STATISTICS_H |
+#include "webrtc/base/criticalsection.h" |
#include "webrtc/common_types.h" |
#include "webrtc/typedefs.h" |
#include "webrtc/voice_engine/include/voe_errors.h" |
#include "webrtc/voice_engine/voice_engine_defines.h" |
namespace webrtc { |
-class CriticalSectionWrapper; |
- |
namespace voe { |
class Statistics |
@@ -40,7 +39,7 @@ class Statistics |
int32_t LastError() const; |
private: |
- CriticalSectionWrapper* _critPtr; |
+ mutable rtc::CriticalSection lock_; |
const uint32_t _instanceId; |
mutable int32_t _lastError; |
bool _isInitialized; |