Index: webrtc/modules/rtp_rtcp/source/fec_receiver_impl.h |
diff --git a/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.h b/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.h |
index 6a63813f408dc58f91673786d8f61b6107523f45..0ebca9bce2d87b392a370578d53ca18f6f1470dd 100644 |
--- a/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.h |
+++ b/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.h |
@@ -13,7 +13,7 @@ |
// This header is included to get the nested declaration of Packet structure. |
-#include "webrtc/base/scoped_ptr.h" |
+#include "webrtc/base/criticalsection.h" |
#include "webrtc/modules/rtp_rtcp/include/fec_receiver.h" |
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
#include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" |
@@ -21,8 +21,6 @@ |
namespace webrtc { |
-class CriticalSectionWrapper; |
- |
class FecReceiverImpl : public FecReceiver { |
public: |
explicit FecReceiverImpl(RtpData* callback); |
@@ -38,7 +36,7 @@ class FecReceiverImpl : public FecReceiver { |
FecPacketCounter GetPacketCounter() const override; |
private: |
- rtc::scoped_ptr<CriticalSectionWrapper> crit_sect_; |
+ rtc::CriticalSection crit_sect_; |
RtpData* recovered_packet_callback_; |
ForwardErrorCorrection* fec_; |
// TODO(holmer): In the current version received_packet_list_ is never more |