Index: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc |
index 7e0ac312c804df4cb4a0c67e135ed7c1f4397b93..708b9af1e09df24c773d05e767a03dc8d3021687 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc |
@@ -9,7 +9,6 @@ |
*/ |
#include <map> |
-#include <memory> |
#include <set> |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -69,7 +68,7 @@ |
size_t len, |
const PacketOptions& options) override { |
RTPHeader header; |
- std::unique_ptr<RtpHeaderParser> parser(RtpHeaderParser::Create()); |
+ rtc::scoped_ptr<RtpHeaderParser> parser(RtpHeaderParser::Create()); |
EXPECT_TRUE(parser->Parse(static_cast<const uint8_t*>(data), len, &header)); |
++rtp_packets_sent_; |
last_rtp_header_ = header; |
@@ -116,10 +115,10 @@ |
RtcpPacketTypeCounter packets_sent_; |
RtcpPacketTypeCounter packets_received_; |
- std::unique_ptr<ReceiveStatistics> receive_statistics_; |
+ rtc::scoped_ptr<ReceiveStatistics> receive_statistics_; |
SendTransport transport_; |
RtcpRttStatsTestImpl rtt_stats_; |
- std::unique_ptr<ModuleRtpRtcpImpl> impl_; |
+ rtc::scoped_ptr<ModuleRtpRtcpImpl> impl_; |
uint32_t remote_ssrc_; |
void SetRemoteSsrc(uint32_t ssrc) { |