Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: media/formats/webm/webm_crypto_helpers.h

Issue 1874413003: Convert media/formats to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/formats/webm/webm_crypto_helpers.h
diff --git a/media/formats/webm/webm_crypto_helpers.h b/media/formats/webm/webm_crypto_helpers.h
index 284b2d083dd865f1be3246754b517746a44e5293..1adbae7e7a21a5e68ea9f85c099cbe548794efcf 100644
--- a/media/formats/webm/webm_crypto_helpers.h
+++ b/media/formats/webm/webm_crypto_helpers.h
@@ -7,7 +7,8 @@
#include <stdint.h>
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "media/base/decoder_buffer.h"
namespace media {
@@ -23,7 +24,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);
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698