| Index: webrtc/modules/pacing/paced_sender.h
|
| diff --git a/webrtc/modules/pacing/paced_sender.h b/webrtc/modules/pacing/paced_sender.h
|
| index 320e62f076954615745cd6e98165e72b832dfb6b..3b5fe2e45e03459d5a4bc4397c77161598c44f69 100644
|
| --- a/webrtc/modules/pacing/paced_sender.h
|
| +++ b/webrtc/modules/pacing/paced_sender.h
|
| @@ -15,6 +15,7 @@
|
| #include <memory>
|
| #include <set>
|
|
|
| +#include "webrtc/base/criticalsection.h"
|
| #include "webrtc/base/optional.h"
|
| #include "webrtc/base/thread_annotations.h"
|
| #include "webrtc/modules/include/module.h"
|
| @@ -25,7 +26,6 @@ namespace webrtc {
|
| class AlrDetector;
|
| class BitrateProber;
|
| class Clock;
|
| -class CriticalSectionWrapper;
|
| class ProbeClusterCreatedObserver;
|
| class RtcEventLog;
|
|
|
| @@ -162,7 +162,7 @@ class PacedSender : public Module, public RtpPacketSender {
|
| PacketSender* const packet_sender_;
|
| std::unique_ptr<AlrDetector> alr_detector_ GUARDED_BY(critsect_);
|
|
|
| - std::unique_ptr<CriticalSectionWrapper> critsect_;
|
| + rtc::CriticalSection critsect_;
|
| bool paused_ GUARDED_BY(critsect_);
|
| // This is the media budget, keeping track of how many bits of media
|
| // we can pace out during the current interval.
|
|
|