| Index: ui/views/controls/menu/menu_controller.cc
|
| diff --git a/ui/views/controls/menu/menu_controller.cc b/ui/views/controls/menu/menu_controller.cc
|
| index d5817198f55a1682451f93f7cc785e181b7083cf..df51c375be3ad9e54604cc0b5de44684505a54e7 100644
|
| --- a/ui/views/controls/menu/menu_controller.cc
|
| +++ b/ui/views/controls/menu/menu_controller.cc
|
| @@ -1525,8 +1525,7 @@ bool MenuController::ShowSiblingMenu(SubmenuView* source,
|
|
|
| // There is a sibling menu, update the button state, hide the current menu
|
| // and show the new one.
|
| - pressed_lock_.reset(
|
| - new MenuButton::PressedLock(button, true /* is_sibling_menu_show */));
|
| + pressed_lock_.reset(new MenuButton::PressedLock(button, true, nullptr));
|
|
|
| // Need to reset capture when we show the menu again, otherwise we aren't
|
| // going to get any events.
|
|
|