Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(896)

Unified Diff: ui/views/controls/menu/menu_controller.cc

Issue 2832823002: Update avatar button to MD (Closed)
Patch Set: Fixed bad merge that duplicated the GetMinimizeButtonHeight() method in some files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698