Index: webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc |
diff --git a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc |
index d4b364127360c28293c030d178f1c08ba3a8c842..c1359df8646dfa053d0235211f446c658ed0cf35 100644 |
--- a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc |
+++ b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc |
@@ -9,6 +9,7 @@ |
*/ |
#include <algorithm> |
+#include <memory> |
#include <vector> |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -175,14 +176,14 @@ class RtpRtcpRtcpTest : public ::testing::Test { |
delete receiver; |
} |
- rtc::scoped_ptr<TestRtpFeedback> rtp_feedback1_; |
- rtc::scoped_ptr<TestRtpFeedback> rtp_feedback2_; |
- rtc::scoped_ptr<ReceiveStatistics> receive_statistics1_; |
- rtc::scoped_ptr<ReceiveStatistics> receive_statistics2_; |
- rtc::scoped_ptr<RTPPayloadRegistry> rtp_payload_registry1_; |
- rtc::scoped_ptr<RTPPayloadRegistry> rtp_payload_registry2_; |
- rtc::scoped_ptr<RtpReceiver> rtp_receiver1_; |
- rtc::scoped_ptr<RtpReceiver> rtp_receiver2_; |
+ std::unique_ptr<TestRtpFeedback> rtp_feedback1_; |
+ std::unique_ptr<TestRtpFeedback> rtp_feedback2_; |
+ std::unique_ptr<ReceiveStatistics> receive_statistics1_; |
+ std::unique_ptr<ReceiveStatistics> receive_statistics2_; |
+ std::unique_ptr<RTPPayloadRegistry> rtp_payload_registry1_; |
+ std::unique_ptr<RTPPayloadRegistry> rtp_payload_registry2_; |
+ std::unique_ptr<RtpReceiver> rtp_receiver1_; |
+ std::unique_ptr<RtpReceiver> rtp_receiver2_; |
RtpRtcp* module1; |
RtpRtcp* module2; |
TestRtpReceiver* receiver; |