| Index: media/blink/buffered_data_source.cc
|
| diff --git a/media/blink/buffered_data_source.cc b/media/blink/buffered_data_source.cc
|
| index 8dd6b900a6693d5bc077391905f8cbe19bd2aba9..7b15b11c88b4c902ae687c0c5303262a85939852 100644
|
| --- a/media/blink/buffered_data_source.cc
|
| +++ b/media/blink/buffered_data_source.cc
|
| @@ -47,7 +47,7 @@ class BufferedDataSource::ReadOperation {
|
|
|
| // Runs |callback_| with the given |result|, deleting the operation
|
| // afterwards.
|
| - static void Run(scoped_ptr<ReadOperation> read_op, int result);
|
| + static void Run(std::unique_ptr<ReadOperation> read_op, int result);
|
|
|
| // State for the number of times this read operation has been retried.
|
| int retries() { return retries_; }
|
| @@ -87,7 +87,8 @@ BufferedDataSource::ReadOperation::~ReadOperation() {
|
|
|
| // static
|
| void BufferedDataSource::ReadOperation::Run(
|
| - scoped_ptr<ReadOperation> read_op, int result) {
|
| + std::unique_ptr<ReadOperation> read_op,
|
| + int result) {
|
| base::ResetAndReturn(&read_op->callback_).Run(result);
|
| }
|
|
|
|
|