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 9569f67cc979f1844129282751f9ddaa17d94e2f..f9aac0a605a8bc1c51c65f28c3bce22e55c81e27 100644 |
--- a/ui/views/controls/menu/menu_controller.cc |
+++ b/ui/views/controls/menu/menu_controller.cc |
@@ -1522,8 +1522,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. |