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); |