Replace the remaining scoped_ptr with unique_ptr in webrtc/modules/
(This is a re-land of https://codereview.webrtc.org/1921233002, which got reverted for breaking Chromium.) BUG=webrtc:5520 Review URL: https://codereview.webrtc.org/1923133002 Cr-Commit-Position: refs/heads/master@{#12522}
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
@ -423,8 +424,8 @@ class RTPSender : public RTPSenderInterface {
|
||||
Bitrate total_bitrate_sent_;
|
||||
|
||||
const bool audio_configured_;
|
||||
const rtc::scoped_ptr<RTPSenderAudio> audio_;
|
||||
const rtc::scoped_ptr<RTPSenderVideo> video_;
|
||||
const std::unique_ptr<RTPSenderAudio> audio_;
|
||||
const std::unique_ptr<RTPSenderVideo> video_;
|
||||
|
||||
RtpPacketSender* const paced_sender_;
|
||||
TransportSequenceNumberAllocator* const transport_sequence_number_allocator_;
|
||||
|
||||
Reference in New Issue
Block a user