Index: webrtc/test/rtp_file_writer_unittest.cc |
diff --git a/webrtc/test/rtp_file_writer_unittest.cc b/webrtc/test/rtp_file_writer_unittest.cc |
index 2c7c88cc3f370675b8f8dd58fec57347e4ede433..3287f976c6ce31124a370b874b3c80fcd8cdd9f8 100644 |
--- a/webrtc/test/rtp_file_writer_unittest.cc |
+++ b/webrtc/test/rtp_file_writer_unittest.cc |
@@ -10,8 +10,9 @@ |
#include <string.h> |
+#include <memory> |
+ |
#include "testing/gtest/include/gtest/gtest.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/test/rtp_file_reader.h" |
#include "webrtc/test/rtp_file_writer.h" |
#include "webrtc/test/testsupport/fileutils.h" |
@@ -43,7 +44,7 @@ class RtpFileWriterTest : public ::testing::Test { |
void VerifyFileContents(int expected_packets) { |
ASSERT_TRUE(rtp_writer_.get() == NULL) |
<< "Must call CloseOutputFile before VerifyFileContents"; |
- rtc::scoped_ptr<test::RtpFileReader> rtp_reader( |
+ std::unique_ptr<test::RtpFileReader> rtp_reader( |
test::RtpFileReader::Create(test::RtpFileReader::kRtpDump, filename_)); |
ASSERT_TRUE(rtp_reader.get() != NULL); |
test::RtpPacket packet; |
@@ -61,7 +62,7 @@ class RtpFileWriterTest : public ::testing::Test { |
} |
private: |
- rtc::scoped_ptr<test::RtpFileWriter> rtp_writer_; |
+ std::unique_ptr<test::RtpFileWriter> rtp_writer_; |
std::string filename_; |
}; |