Index: webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc |
diff --git a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc |
index 74daba94c9063c153602cb0cdb474386d1033cae..16ea540bd586f4db1d46a13ab3b908dbbdafc34f 100644 |
--- a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc |
+++ b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc |
@@ -11,7 +11,6 @@ |
#include <stdlib.h> |
#include <algorithm> |
-#include <memory> |
#include <vector> |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -128,9 +127,9 @@ |
} |
int test_id_; |
- std::unique_ptr<ReceiveStatistics> receive_statistics_; |
+ rtc::scoped_ptr<ReceiveStatistics> receive_statistics_; |
RTPPayloadRegistry rtp_payload_registry_; |
- std::unique_ptr<RtpReceiver> rtp_receiver_; |
+ rtc::scoped_ptr<RtpReceiver> rtp_receiver_; |
RtpRtcp* video_module_; |
LoopBackTransport* transport_; |
TestRtpReceiver* receiver_; |
@@ -171,7 +170,7 @@ |
kPadSize); |
++seq_num; |
RTPHeader header; |
- std::unique_ptr<RtpHeaderParser> parser(RtpHeaderParser::Create()); |
+ rtc::scoped_ptr<RtpHeaderParser> parser(RtpHeaderParser::Create()); |
EXPECT_TRUE(parser->Parse(padding_packet, packet_size, &header)); |
PayloadUnion payload_specific; |
EXPECT_TRUE(rtp_payload_registry_.GetPayloadSpecifics(header.payloadType, |