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

Unified Diff: chrome/browser/ui/app_list/search/search_controller_factory.cc

Issue 2251263003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
Index: chrome/browser/ui/app_list/search/search_controller_factory.cc
diff --git a/chrome/browser/ui/app_list/search/search_controller_factory.cc b/chrome/browser/ui/app_list/search/search_controller_factory.cc
index 53e0bbf68db6832523780e56790423a1c3ee1309..1239302b4a7e7968e5e8496a266a171463949a5a 100644
--- a/chrome/browser/ui/app_list/search/search_controller_factory.cc
+++ b/chrome/browser/ui/app_list/search/search_controller_factory.cc
@@ -77,7 +77,7 @@ std::unique_ptr<SearchController> CreateSearchController(
controller->AddProvider(
apps_group_id,
std::unique_ptr<SearchProvider>(new AppSearchProvider(
- profile, list_controller, base::WrapUnique(new base::DefaultClock()),
+ profile, list_controller, base::MakeUnique<base::DefaultClock>(),
model->top_level_item_list())));
controller->AddProvider(omnibox_group_id,
std::unique_ptr<SearchProvider>(

Powered by Google App Engine
This is Rietveld 408576698