Replaced CriticalSectionWrapper with rtc::CriticalSection in rtp_rtcp module
Review URL: https://codereview.webrtc.org/1877253002 Cr-Commit-Position: refs/heads/master@{#12359}
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user