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:
kwiberg
2016-02-29 05:51:59 -08:00
committed by Commit bot
parent a4f31bd03a
commit 3f55dea259
36 changed files with 145 additions and 118 deletions

View File

@ -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