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

Unified Diff: ui/app_list/search/mixer_unittest.cc

Issue 2259753003: 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 | ui/app_list/views/app_list_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search/mixer_unittest.cc
diff --git a/ui/app_list/search/mixer_unittest.cc b/ui/app_list/search/mixer_unittest.cc
index 4e79bf341f74d995173f7cc1e90e4a98c7836d64..084c5799622885379c6ed800dc27d384f36c7de7 100644
--- a/ui/app_list/search/mixer_unittest.cc
+++ b/ui/app_list/search/mixer_unittest.cc
@@ -46,7 +46,7 @@ class TestSearchResult : public SearchResult {
void Open(int event_flags) override {}
void InvokeAction(int action_index, int event_flags) override {}
std::unique_ptr<SearchResult> Duplicate() const override {
- return base::WrapUnique(new TestSearchResult(id(), relevance()));
+ return base::MakeUnique<TestSearchResult>(id(), relevance());
}
// For reference equality testing. (Addresses cannot be used to test reference
« no previous file with comments | « no previous file | ui/app_list/views/app_list_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698