Index: webrtc/modules/rtp_rtcp/source/forward_error_correction.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc b/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc |
index 623c658a17401b877bd6748471f1e7ed8b9f3552..b85d813790d57d099eda23688d211e4f9b73ba5a 100644 |
--- a/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc |
+++ b/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc |
@@ -15,7 +15,6 @@ |
#include <algorithm> |
#include <iterator> |
-#include <memory> |
#include "webrtc/base/checks.h" |
#include "webrtc/base/logging.h" |
@@ -164,7 +163,7 @@ |
// -- Generate packet masks -- |
// Always allocate space for a large mask. |
- std::unique_ptr<uint8_t[]> packet_mask( |
+ rtc::scoped_ptr<uint8_t[]> packet_mask( |
new uint8_t[num_fec_packets * kMaskSizeLBitSet]); |
memset(packet_mask.get(), 0, num_fec_packets * num_mask_bytes); |
internal::GeneratePacketMasks(num_media_packets, num_fec_packets, |