| Index: webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc
|
| diff --git a/webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc b/webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc
|
| index 67e8a65c4dff21fab89b746347f8f34c29ca620d..ea2d98bc3a9154c9564e49ca6524a9299d8d9025 100644
|
| --- a/webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc
|
| +++ b/webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc
|
| @@ -11,6 +11,7 @@
|
| #include "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h"
|
|
|
| #include <algorithm>
|
| +#include <memory>
|
| #include <vector>
|
|
|
| #include "webrtc/test/null_transport.h"
|
| @@ -41,7 +42,7 @@ bool LoopBackTransport::SendRtp(const uint8_t* data,
|
| }
|
| }
|
| RTPHeader header;
|
| - rtc::scoped_ptr<RtpHeaderParser> parser(RtpHeaderParser::Create());
|
| + std::unique_ptr<RtpHeaderParser> parser(RtpHeaderParser::Create());
|
| if (!parser->Parse(static_cast<const uint8_t*>(data), len, &header)) {
|
| return false;
|
| }
|
| @@ -100,9 +101,9 @@ class RtpRtcpAPITest : public ::testing::Test {
|
| &fake_clock_, NULL, NULL, rtp_payload_registry_.get()));
|
| }
|
|
|
| - rtc::scoped_ptr<RTPPayloadRegistry> rtp_payload_registry_;
|
| - rtc::scoped_ptr<RtpReceiver> rtp_receiver_;
|
| - rtc::scoped_ptr<RtpRtcp> module_;
|
| + std::unique_ptr<RTPPayloadRegistry> rtp_payload_registry_;
|
| + std::unique_ptr<RtpReceiver> rtp_receiver_;
|
| + std::unique_ptr<RtpRtcp> module_;
|
| uint32_t test_ssrc_;
|
| uint32_t test_timestamp_;
|
| uint16_t test_sequence_number_;
|
|
|