Index: webrtc/modules/rtp_rtcp/source/producer_fec_unittest.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/producer_fec_unittest.cc b/webrtc/modules/rtp_rtcp/source/producer_fec_unittest.cc |
index deb9a15e03ea662f02a680befd3b1487b01f969b..fad0f502f5970900be93e9cd19bb062f2446da53 100644 |
--- a/webrtc/modules/rtp_rtcp/source/producer_fec_unittest.cc |
+++ b/webrtc/modules/rtp_rtcp/source/producer_fec_unittest.cc |
@@ -9,7 +9,6 @@ |
*/ |
#include <list> |
-#include <memory> |
#include <vector> |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -189,7 +188,7 @@ |
TEST_F(ProducerFecTest, BuildRedPacket) { |
generator_->NewFrame(1); |
test::RawRtpPacket* packet = generator_->NextPacket(0, 10); |
- std::unique_ptr<RedPacket> red_packet(producer_->BuildRedPacket( |
+ rtc::scoped_ptr<RedPacket> red_packet(producer_->BuildRedPacket( |
packet->data, packet->length - kRtpHeaderSize, kRtpHeaderSize, |
kRedPayloadType)); |
EXPECT_EQ(packet->length + 1, red_packet->length()); |