| Index: chrome/browser/ui/views/toolbar/toolbar_action_view.cc
|
| diff --git a/chrome/browser/ui/views/toolbar/toolbar_action_view.cc b/chrome/browser/ui/views/toolbar/toolbar_action_view.cc
|
| index 37f514008e26851b92a522a89aa171d9ee59ba42..6703918933d9cb56dcd05a14248bb17fad453055 100644
|
| --- a/chrome/browser/ui/views/toolbar/toolbar_action_view.cc
|
| +++ b/chrome/browser/ui/views/toolbar/toolbar_action_view.cc
|
| @@ -199,6 +199,12 @@ gfx::Size ToolbarActionView::GetPreferredSize() const {
|
| ToolbarActionsBar::IconHeight());
|
| }
|
|
|
| +void ToolbarActionView::OnMouseCaptureLost() {
|
| + MenuButton::OnMouseCaptureLost();
|
| + if (IsHotTracked())
|
| + SetState(STATE_NORMAL);
|
| +}
|
| +
|
| bool ToolbarActionView::OnMousePressed(const ui::MouseEvent& event) {
|
| // views::MenuButton actions are only triggered by left mouse clicks.
|
| if (event.IsOnlyLeftMouseButton()) {
|
|
|