| Index: chrome/browser/media_galleries/linux/mtp_read_file_worker.cc
|
| diff --git a/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc b/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc
|
| index aba6690c0cfe73e5b38065d13d4953d0b2f4be7c..c5a081d86b127070e58eb261bc605c03df20dcd5 100644
|
| --- a/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc
|
| +++ b/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc
|
| @@ -51,8 +51,8 @@ void MTPReadFileWorker::WriteDataIntoSnapshotFile(
|
| const SnapshotRequestInfo& request_info,
|
| const base::File::Info& snapshot_file_info) {
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
| - ReadDataChunkFromDeviceFile(base::WrapUnique(
|
| - new SnapshotFileDetails(request_info, snapshot_file_info)));
|
| + ReadDataChunkFromDeviceFile(
|
| + base::MakeUnique<SnapshotFileDetails>(request_info, snapshot_file_info));
|
| }
|
|
|
| void MTPReadFileWorker::ReadDataChunkFromDeviceFile(
|
|
|