Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: apps/saved_files_service.cc

Issue 2255123002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/saved_files_service.cc
diff --git a/apps/saved_files_service.cc b/apps/saved_files_service.cc
index 086a262e7566c47d7900afc5fbf3ecde5f654d6f..4f093e72111afb64de52f5f617f262caac8c6a40 100644
--- a/apps/saved_files_service.cc
+++ b/apps/saved_files_service.cc
@@ -316,7 +316,7 @@ void SavedFilesService::SavedFiles::RegisterFileEntry(
return;
registered_file_entries_.add(
- id, base::WrapUnique(new SavedFileEntry(id, file_path, is_directory, 0)));
+ id, base::MakeUnique<SavedFileEntry>(id, file_path, is_directory, 0));
}
void SavedFilesService::SavedFiles::EnqueueFileEntry(const std::string& id) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698