| Index: webrtc/modules/audio_coding/neteq/tools/packet.h
|
| diff --git a/webrtc/modules/audio_coding/neteq/tools/packet.h b/webrtc/modules/audio_coding/neteq/tools/packet.h
|
| index 8e436334234a49e97706bb12e4af99b643394fde..86eedc0ce6c19ec858bfde6f2613c8b435707683 100644
|
| --- a/webrtc/modules/audio_coding/neteq/tools/packet.h
|
| +++ b/webrtc/modules/audio_coding/neteq/tools/packet.h
|
| @@ -12,9 +12,9 @@
|
| #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_PACKET_H_
|
|
|
| #include <list>
|
| +#include <memory>
|
|
|
| #include "webrtc/base/constructormagic.h"
|
| -#include "webrtc/base/scoped_ptr.h"
|
| #include "webrtc/common_types.h"
|
| #include "webrtc/typedefs.h"
|
|
|
| @@ -103,7 +103,7 @@ class Packet {
|
| void CopyToHeader(RTPHeader* destination) const;
|
|
|
| RTPHeader header_;
|
| - rtc::scoped_ptr<uint8_t[]> payload_memory_;
|
| + std::unique_ptr<uint8_t[]> payload_memory_;
|
| const uint8_t* payload_; // First byte after header.
|
| const size_t packet_length_bytes_; // Total length of packet.
|
| size_t payload_length_bytes_; // Length of the payload, after RTP header.
|
|
|