Index: components/drive/chromeos/file_system/download_operation.cc |
diff --git a/components/drive/chromeos/file_system/download_operation.cc b/components/drive/chromeos/file_system/download_operation.cc |
index ba8e57c6d77b61b29685d2725e4843608e06c503..4e8d01d62944220aa3ff0298acdd851b4c398e36 100644 |
--- a/components/drive/chromeos/file_system/download_operation.cc |
+++ b/components/drive/chromeos/file_system/download_operation.cc |
@@ -284,7 +284,7 @@ class DownloadOperation::DownloadParams { |
void OnCacheFileFound(const base::FilePath& cache_file_path) { |
if (!initialized_callback_.is_null()) { |
initialized_callback_.Run(FILE_ERROR_OK, cache_file_path, |
- base::WrapUnique(new ResourceEntry(*entry_))); |
+ base::MakeUnique<ResourceEntry>(*entry_)); |
} |
completion_callback_.Run(FILE_ERROR_OK, cache_file_path, std::move(entry_)); |
} |
@@ -297,7 +297,7 @@ class DownloadOperation::DownloadParams { |
DCHECK(entry_); |
initialized_callback_.Run(FILE_ERROR_OK, base::FilePath(), |
- base::WrapUnique(new ResourceEntry(*entry_))); |
+ base::MakeUnique<ResourceEntry>(*entry_)); |
} |
void OnError(FileError error) const { |