| 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 8c13cf00079a77fd6f6a80664e590b9e06a842af..068ee63188e88bf5b5cc199b6c0cfda3859607c5 100644
|
| --- a/ui/views/controls/button/label_button.cc
|
| +++ b/ui/views/controls/button/label_button.cc
|
| @@ -20,7 +20,7 @@
|
| #include "ui/gfx/geometry/vector2d.h"
|
| #include "ui/native_theme/native_theme.h"
|
| #include "ui/views/animation/flood_fill_ink_drop_ripple.h"
|
| -#include "ui/views/animation/ink_drop_hover.h"
|
| +#include "ui/views/animation/ink_drop_highlight.h"
|
| #include "ui/views/background.h"
|
| #include "ui/views/controls/button/label_button_border.h"
|
| #include "ui/views/painter.h"
|
| @@ -427,11 +427,12 @@ std::unique_ptr<views::InkDropRipple> LabelButton::CreateInkDropRipple() const {
|
| GetInkDropBaseColor()));
|
| }
|
|
|
| -std::unique_ptr<views::InkDropHover> LabelButton::CreateInkDropHover() const {
|
| - if (!ShouldShowInkDropHover())
|
| +std::unique_ptr<views::InkDropHighlight> LabelButton::CreateInkDropHighlight()
|
| + const {
|
| + if (!ShouldShowInkDropHighlight())
|
| return nullptr;
|
| - return GetText().empty() ? CustomButton::CreateInkDropHover()
|
| - : base::WrapUnique(new views::InkDropHover(
|
| + return GetText().empty() ? CustomButton::CreateInkDropHighlight()
|
| + : base::WrapUnique(new views::InkDropHighlight(
|
| size(), kInkDropSmallCornerRadius,
|
| GetInkDropCenter(), GetInkDropBaseColor()));
|
| }
|
|
|