| Index: ui/views/style/platform_style_mac.mm
|
| diff --git a/ui/views/style/platform_style_mac.mm b/ui/views/style/platform_style_mac.mm
|
| index d10a483690b9f589581efc3ac0d84320fd54fb78..0d433480bfd1dfdca296d7a31376d3f7aaa44e19 100644
|
| --- a/ui/views/style/platform_style_mac.mm
|
| +++ b/ui/views/style/platform_style_mac.mm
|
| @@ -52,21 +52,21 @@ std::unique_ptr<FocusableBorder> PlatformStyle::CreateComboboxBorder() {
|
| // static
|
| std::unique_ptr<Background> PlatformStyle::CreateComboboxBackground(
|
| int shoulder_width) {
|
| - return base::WrapUnique(new ComboboxBackgroundMac(shoulder_width));
|
| + return base::MakeUnique<ComboboxBackgroundMac>(shoulder_width);
|
| }
|
|
|
| // static
|
| std::unique_ptr<LabelButtonBorder> PlatformStyle::CreateLabelButtonBorder(
|
| Button::ButtonStyle style) {
|
| if (style == Button::STYLE_BUTTON)
|
| - return base::WrapUnique(new DialogButtonBorderMac());
|
| + return base::MakeUnique<DialogButtonBorderMac>();
|
|
|
| - return base::WrapUnique(new LabelButtonAssetBorder(style));
|
| + return base::MakeUnique<LabelButtonAssetBorder>(style);
|
| }
|
|
|
| // static
|
| std::unique_ptr<ScrollBar> PlatformStyle::CreateScrollBar(bool is_horizontal) {
|
| - return base::WrapUnique(new CocoaScrollBar(is_horizontal));
|
| + return base::MakeUnique<CocoaScrollBar>(is_horizontal);
|
| }
|
|
|
| // static
|
|
|