Replace scoped_ptr with unique_ptr in webrtc/modules/video_coding/
BUG=webrtc:5520
Review URL: https://codereview.webrtc.org/1721353002
Cr-Commit-Position: refs/heads/master@{#11814}
diff --git a/webrtc/modules/video_coding/video_coding_impl.h b/webrtc/modules/video_coding/video_coding_impl.h
index dc766b1..c01d517 100644
--- a/webrtc/modules/video_coding/video_coding_impl.h
+++ b/webrtc/modules/video_coding/video_coding_impl.h
@@ -13,6 +13,7 @@
#include "webrtc/modules/video_coding/include/video_coding.h"
+#include <memory>
#include <vector>
#include "webrtc/base/thread_annotations.h"
@@ -101,7 +102,7 @@
Clock* const clock_;
- rtc::scoped_ptr<CriticalSectionWrapper> process_crit_sect_;
+ std::unique_ptr<CriticalSectionWrapper> process_crit_sect_;
rtc::CriticalSection encoder_crit_;
VCMGenericEncoder* _encoder;
VCMEncodedFrameCallback _encodedFrameCallback GUARDED_BY(encoder_crit_);
@@ -185,7 +186,7 @@
private:
Clock* const clock_;
- rtc::scoped_ptr<CriticalSectionWrapper> process_crit_sect_;
+ std::unique_ptr<CriticalSectionWrapper> process_crit_sect_;
CriticalSectionWrapper* _receiveCritSect;
VCMTiming _timing;
VCMReceiver _receiver;