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

Unified Diff: ui/views/style/mac/dialog_button_border_mac_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 | « ui/views/painter.cc ('k') | ui/views/style/platform_style.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/style/mac/dialog_button_border_mac_unittest.cc
diff --git a/ui/views/style/mac/dialog_button_border_mac_unittest.cc b/ui/views/style/mac/dialog_button_border_mac_unittest.cc
index 950697481e1d3fab60f90a7fc4134568ca1b2198..af6ab014a8349a2cb18eae136cb452224b8b386c 100644
--- a/ui/views/style/mac/dialog_button_border_mac_unittest.cc
+++ b/ui/views/style/mac/dialog_button_border_mac_unittest.cc
@@ -31,7 +31,7 @@ class TestLabelButton : public LabelButton {
if (!provide_custom_border_)
return LabelButton::CreateDefaultBorder();
- return base::WrapUnique(new LabelButtonAssetBorder(style()));
+ return base::MakeUnique<LabelButtonAssetBorder>(style());
}
private:
« no previous file with comments | « ui/views/painter.cc ('k') | ui/views/style/platform_style.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698