| Index: media/formats/webm/webm_crypto_helpers.cc
|
| diff --git a/media/formats/webm/webm_crypto_helpers.cc b/media/formats/webm/webm_crypto_helpers.cc
|
| index 11e71b12f759b45f9c6e067b75e56ade1372e72e..a483df9019cf342cb69856e1a60ab90e9b17b23d 100644
|
| --- a/media/formats/webm/webm_crypto_helpers.cc
|
| +++ b/media/formats/webm/webm_crypto_helpers.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "media/formats/webm/webm_crypto_helpers.h"
|
|
|
| +#include <memory>
|
| +
|
| #include "base/logging.h"
|
| #include "base/sys_byteorder.h"
|
| #include "media/base/decrypt_config.h"
|
| @@ -28,7 +30,7 @@ bool WebMCreateDecryptConfig(const uint8_t* data,
|
| int data_size,
|
| const uint8_t* key_id,
|
| int key_id_size,
|
| - scoped_ptr<DecryptConfig>* decrypt_config,
|
| + std::unique_ptr<DecryptConfig>* decrypt_config,
|
| int* data_offset) {
|
| if (data_size < kWebMSignalByteSize) {
|
| DVLOG(1) << "Got a block from an encrypted stream with no data.";
|
|
|