Index: media/cdm/simple_cdm_allocator.cc |
diff --git a/media/cdm/simple_cdm_allocator.cc b/media/cdm/simple_cdm_allocator.cc |
index 2ae4dd890a1a46012c582ba05f670b703781653f..45a5a38f83d75b57e6372464cdfa476eee16bf02 100644 |
--- a/media/cdm/simple_cdm_allocator.cc |
+++ b/media/cdm/simple_cdm_allocator.cc |
@@ -4,6 +4,7 @@ |
#include "media/cdm/simple_cdm_allocator.h" |
+#include "base/memory/ptr_util.h" |
#include "media/base/video_frame.h" |
#include "media/cdm/cdm_helpers.h" |
#include "media/cdm/simple_cdm_buffer.h" |
@@ -66,8 +67,8 @@ cdm::Buffer* SimpleCdmAllocator::CreateCdmBuffer(size_t capacity) { |
} |
// Creates a new SimpleCdmVideoFrame on every request. |
-scoped_ptr<VideoFrameImpl> SimpleCdmAllocator::CreateCdmVideoFrame() { |
- return make_scoped_ptr(new SimpleCdmVideoFrame()); |
+std::unique_ptr<VideoFrameImpl> SimpleCdmAllocator::CreateCdmVideoFrame() { |
+ return base::WrapUnique(new SimpleCdmVideoFrame()); |
} |
} // namespace media |