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

Unified Diff: media/cdm/simple_cdm_allocator.h

Issue 1915443003: Replace scoped_ptr with std::unique_ptr in //media. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptr-media-base
Patch Set: scopedptr-media: rebase 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
« no previous file with comments | « media/cdm/ppapi/external_clear_key/libvpx_cdm_video_decoder.cc ('k') | media/cdm/simple_cdm_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cdm/simple_cdm_allocator.h
diff --git a/media/cdm/simple_cdm_allocator.h b/media/cdm/simple_cdm_allocator.h
index 1d6a69e45f25105885d3e13e56dfa9136a6d5fbb..cfb614f7eb6ec1e3d352d17c4445433b4698c23b 100644
--- a/media/cdm/simple_cdm_allocator.h
+++ b/media/cdm/simple_cdm_allocator.h
@@ -7,6 +7,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
#include "base/macros.h"
#include "media/cdm/cdm_allocator.h"
@@ -21,7 +22,7 @@ class SimpleCdmAllocator : public CdmAllocator {
// CdmAllocator implementation.
cdm::Buffer* CreateCdmBuffer(size_t capacity) final;
- scoped_ptr<VideoFrameImpl> CreateCdmVideoFrame() final;
+ std::unique_ptr<VideoFrameImpl> CreateCdmVideoFrame() final;
private:
DISALLOW_COPY_AND_ASSIGN(SimpleCdmAllocator);
« no previous file with comments | « media/cdm/ppapi/external_clear_key/libvpx_cdm_video_decoder.cc ('k') | media/cdm/simple_cdm_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698