Index: webrtc/test/layer_filtering_transport.cc |
diff --git a/webrtc/test/layer_filtering_transport.cc b/webrtc/test/layer_filtering_transport.cc |
index 41d63ad6e7d4ab16fa5974297bef75e345735bcc..cba1a57eb45405952968bc95bee35af23abebe52 100644 |
--- a/webrtc/test/layer_filtering_transport.cc |
+++ b/webrtc/test/layer_filtering_transport.cc |
@@ -8,6 +8,8 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
+#include <memory> |
+ |
#include "webrtc/base/checks.h" |
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
#include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
@@ -62,7 +64,7 @@ bool LayerFilteringTransport::SendRtp(const uint8_t* packet, |
const size_t payload_data_length = payload_length - header.paddingLength; |
const bool is_vp8 = header.payloadType == vp8_video_payload_type_; |
- rtc::scoped_ptr<RtpDepacketizer> depacketizer( |
+ std::unique_ptr<RtpDepacketizer> depacketizer( |
RtpDepacketizer::Create(is_vp8 ? kRtpVideoVp8 : kRtpVideoVp9)); |
RtpDepacketizer::ParsedPayload parsed_payload; |
if (depacketizer->Parse(&parsed_payload, payload, payload_data_length)) { |