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

Unified Diff: ui/app_list/views/search_result_page_view.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 | « ui/app_list/views/search_box_view.cc ('k') | ui/arc/notification/arc_notification_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/search_result_page_view.cc
diff --git a/ui/app_list/views/search_result_page_view.cc b/ui/app_list/views/search_result_page_view.cc
index 40b9f26eeebf943f08ee82c08adaa3dd69a18638..566c0dd72689bba8d3e852ad0167a8b336afdea6 100644
--- a/ui/app_list/views/search_result_page_view.cc
+++ b/ui/app_list/views/search_result_page_view.cc
@@ -37,8 +37,8 @@ const int kSearchResultZHeight = 1;
class SearchCardView : public views::View {
public:
explicit SearchCardView(views::View* content_view) {
- SetBorder(base::WrapUnique(
- new views::ShadowBorder(GetShadowForZHeight(kSearchResultZHeight))));
+ SetBorder(base::MakeUnique<views::ShadowBorder>(
+ GetShadowForZHeight(kSearchResultZHeight)));
SetLayoutManager(new views::FillLayout());
content_view->set_background(
views::Background::CreateSolidBackground(kCardBackgroundColor));
« no previous file with comments | « ui/app_list/views/search_box_view.cc ('k') | ui/arc/notification/arc_notification_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698