Index: media/base/byte_queue.cc |
diff --git a/media/base/byte_queue.cc b/media/base/byte_queue.cc |
index 263f82a1398d776fc1d8c8b939967be455cccc3b..6ff60e648671135989c7ad207cbee21512b3dd69 100644 |
--- a/media/base/byte_queue.cc |
+++ b/media/base/byte_queue.cc |
@@ -39,7 +39,7 @@ void ByteQueue::Push(const uint8_t* data, int size) { |
// Sanity check to make sure we didn't overflow. |
CHECK_GT(new_size, size_); |
- scoped_ptr<uint8_t[]> new_buffer(new uint8_t[new_size]); |
+ std::unique_ptr<uint8_t[]> new_buffer(new uint8_t[new_size]); |
// Copy the data from the old buffer to the start of the new one. |
if (used_ > 0) |