Chromium Code Reviews| Index: ui/views/controls/menu/menu_runner.cc |
| diff --git a/ui/views/controls/menu/menu_runner.cc b/ui/views/controls/menu/menu_runner.cc |
| index 4adaed724421caddcd0ba30932dfb4ef421c2297..44f35685f2198d2cf0a6ea85abbbedf6e3cfe341 100644 |
| --- a/ui/views/controls/menu/menu_runner.cc |
| +++ b/ui/views/controls/menu/menu_runner.cc |
| @@ -175,7 +175,7 @@ MenuRunner::RunResult MenuRunnerImpl::RunMenuAt(Widget* parent, |
| running_ = true; |
| for_drop_ = (types & MenuRunner::FOR_DROP) != 0; |
| - bool has_mnemonics = (types & MenuRunner::HAS_MNEMONICS) != 0 && !for_drop_; |
|
sky
2014/07/18 19:36:54
Why are you removing this?
Devlin
2014/07/18 21:38:31
(Please double check me on this)
If the menu has
sky
2014/07/18 22:45:39
Ok, that makes sense.
|
| + bool has_mnemonics = (types & MenuRunner::HAS_MNEMONICS) != 0; |
| owns_controller_ = false; |
| if (!controller) { |
| // No menus are showing, show one. |