| Index: ui/views/controls/button/label_button.cc
|
| diff --git a/ui/views/controls/button/label_button.cc b/ui/views/controls/button/label_button.cc
|
| index f8147937777dc8b575db1d55fb78e3905bafbb17..c883169c6c1c7e74f8aea4ea66f17171ab032beb 100644
|
| --- a/ui/views/controls/button/label_button.cc
|
| +++ b/ui/views/controls/button/label_button.cc
|
| @@ -448,10 +448,9 @@ std::unique_ptr<views::InkDropRipple> LabelButton::CreateInkDropRipple() const {
|
| return GetText().empty()
|
| ? CreateDefaultInkDropRipple(
|
| image()->GetMirroredBounds().CenterPoint())
|
| - : std::unique_ptr<views::InkDropRipple>(
|
| - new views::FloodFillInkDropRipple(
|
| - GetLocalBounds(), GetInkDropCenterBasedOnLastEvent(),
|
| - GetInkDropBaseColor(), ink_drop_visible_opacity()));
|
| + : base::MakeUnique<views::FloodFillInkDropRipple>(
|
| + GetLocalBounds(), GetInkDropCenterBasedOnLastEvent(),
|
| + GetInkDropBaseColor(), ink_drop_visible_opacity());
|
| }
|
|
|
| std::unique_ptr<views::InkDropHighlight> LabelButton::CreateInkDropHighlight()
|
|
|