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}
This commit is contained in:
@ -65,7 +65,7 @@ class EncodedImageCallbackWrapper : public EncodedImageCallback {
|
||||
}
|
||||
|
||||
private:
|
||||
rtc::scoped_ptr<CriticalSectionWrapper> cs_;
|
||||
std::unique_ptr<CriticalSectionWrapper> cs_;
|
||||
EncodedImageCallback* callback_ GUARDED_BY(cs_);
|
||||
};
|
||||
|
||||
@ -283,7 +283,7 @@ class VideoCodingModuleImpl : public VideoCodingModule {
|
||||
EncodedImageCallbackWrapper post_encode_callback_;
|
||||
vcm::VideoSender sender_;
|
||||
vcm::VideoReceiver receiver_;
|
||||
rtc::scoped_ptr<EventFactory> own_event_factory_;
|
||||
std::unique_ptr<EventFactory> own_event_factory_;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user