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

Unified Diff: webrtc/test/rtp_file_reader_unittest.cc

Issue 1937693002: Replace scoped_ptr with unique_ptr everywhere (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@unique5
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
« no previous file with comments | « webrtc/test/rtp_file_reader.cc ('k') | webrtc/test/rtp_file_writer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/rtp_file_reader_unittest.cc
diff --git a/webrtc/test/rtp_file_reader_unittest.cc b/webrtc/test/rtp_file_reader_unittest.cc
index 15a456ccf619f469439e97089d49e91500eb322c..fceac3836d677fecf0e38d830a62a73c2cb3c33b 100644
--- a/webrtc/test/rtp_file_reader_unittest.cc
+++ b/webrtc/test/rtp_file_reader_unittest.cc
@@ -9,9 +9,9 @@
*/
#include <map>
+#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
#include "webrtc/test/rtp_file_reader.h"
#include "webrtc/test/testsupport/fileutils.h"
@@ -43,7 +43,7 @@ class TestRtpFileReader : public ::testing::Test {
}
private:
- rtc::scoped_ptr<test::RtpFileReader> rtp_packet_source_;
+ std::unique_ptr<test::RtpFileReader> rtp_packet_source_;
bool headers_only_file_;
};
@@ -94,7 +94,7 @@ class TestPcapFileReader : public ::testing::Test {
}
private:
- rtc::scoped_ptr<test::RtpFileReader> rtp_packet_source_;
+ std::unique_ptr<test::RtpFileReader> rtp_packet_source_;
};
TEST_F(TestPcapFileReader, TestEthernetIIFrame) {
« no previous file with comments | « webrtc/test/rtp_file_reader.cc ('k') | webrtc/test/rtp_file_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698