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

Unified Diff: chromecast/media/cma/base/decoder_buffer_adapter.h

Issue 1875623002: Convert //chromecast from scoped_ptr 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: chromecast/media/cma/base/decoder_buffer_adapter.h
diff --git a/chromecast/media/cma/base/decoder_buffer_adapter.h b/chromecast/media/cma/base/decoder_buffer_adapter.h
index d3da104ae5f7178a0cd8221e5b4e7aed179c9c03..c42fc9184c67bbcc974bb597e557abb7ee316903 100644
--- a/chromecast/media/cma/base/decoder_buffer_adapter.h
+++ b/chromecast/media/cma/base/decoder_buffer_adapter.h
@@ -8,9 +8,10 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "chromecast/media/cma/base/decoder_buffer_base.h"
namespace media {
@@ -48,7 +49,7 @@ class DecoderBufferAdapter : public DecoderBufferBase {
StreamId stream_id_;
scoped_refptr<::media::DecoderBuffer> const buffer_;
- mutable scoped_ptr<CastDecryptConfig> decrypt_config_;
+ mutable std::unique_ptr<CastDecryptConfig> decrypt_config_;
DISALLOW_COPY_AND_ASSIGN(DecoderBufferAdapter);
};
« no previous file with comments | « chromecast/media/cma/base/buffering_frame_provider_unittest.cc ('k') | chromecast/media/cma/base/decoder_buffer_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698