Index: webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h |
diff --git a/webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h b/webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h |
index 2febf68b913ff1c1779ad82905df2a6656ec0148..b02e16acdd6d96a0d0d6cace1eb42185f764655f 100644 |
--- a/webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h |
+++ b/webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h |
@@ -12,10 +12,11 @@ |
#define WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_RTP_FILE_SOURCE_H_ |
#include <stdio.h> |
+ |
+#include <memory> |
#include <string> |
#include "webrtc/base/constructormagic.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/common_types.h" |
#include "webrtc/modules/audio_coding/neteq/tools/packet_source.h" |
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
@@ -56,8 +57,8 @@ class RtpFileSource : public PacketSource { |
bool OpenFile(const std::string& file_name); |
- rtc::scoped_ptr<RtpFileReader> rtp_reader_; |
- rtc::scoped_ptr<RtpHeaderParser> parser_; |
+ std::unique_ptr<RtpFileReader> rtp_reader_; |
+ std::unique_ptr<RtpHeaderParser> parser_; |
RTC_DISALLOW_COPY_AND_ASSIGN(RtpFileSource); |
}; |