| Index: ui/views/controls/button/custom_button.cc
|
| diff --git a/ui/views/controls/button/custom_button.cc b/ui/views/controls/button/custom_button.cc
|
| index cb36cb77c0f55e96f8a4929f8c8f90d6f9ec2c9e..d655ac34c148bbeff8f95d633a5fb571cc081720 100644
|
| --- a/ui/views/controls/button/custom_button.cc
|
| +++ b/ui/views/controls/button/custom_button.cc
|
| @@ -295,6 +295,10 @@ void CustomButton::ShowContextMenu(const gfx::Point& p,
|
| // we won't get a mouse exited and reset state. Reset it now to be sure.
|
| if (state_ != STATE_DISABLED)
|
| SetState(STATE_NORMAL);
|
| + if (ink_drop_delegate_) {
|
| + ink_drop_delegate_->SetHovered(false);
|
| + ink_drop_delegate_->OnAction(InkDropState::HIDDEN);
|
| + }
|
| View::ShowContextMenu(p, source_type);
|
| }
|
|
|
|
|