Index: webrtc/video/vie_encoder.h |
diff --git a/webrtc/video/vie_encoder.h b/webrtc/video/vie_encoder.h |
index a7452f7da89b6b5ee37da5776d0128107d34f62f..e8254ed25040cc8b40331d067bba0cdbf20206ee 100644 |
--- a/webrtc/video/vie_encoder.h |
+++ b/webrtc/video/vie_encoder.h |
@@ -14,6 +14,7 @@ |
#include <map> |
#include <vector> |
+#include "webrtc/base/criticalsection.h" |
#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/base/scoped_ref_ptr.h" |
#include "webrtc/base/thread_annotations.h" |
@@ -31,7 +32,6 @@ namespace webrtc { |
class BitrateAllocator; |
class BitrateObserver; |
class Config; |
-class CriticalSectionWrapper; |
class EncodedImageCallback; |
class PacedSender; |
class PayloadRouter; |
@@ -158,7 +158,7 @@ class ViEEncoder : public RtcpIntraFrameObserver, |
const rtc::scoped_ptr<VideoCodingModule> vcm_; |
rtc::scoped_refptr<PayloadRouter> send_payload_router_; |
- rtc::scoped_ptr<CriticalSectionWrapper> data_cs_; |
+ mutable rtc::CriticalSection data_cs_; |
rtc::scoped_ptr<BitrateObserver> bitrate_observer_; |
SendStatisticsProxy* const stats_proxy_; |