Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Unified Diff: webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc

Issue 1921233002: Replace the remaining scoped_ptr with unique_ptr in webrtc/modules/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc ('k') | webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698