Chromium Code Reviews| Index: ash/mus/context_menu_mus.cc |
| diff --git a/ash/mus/context_menu_mus.cc b/ash/mus/context_menu_mus.cc |
| index 50f03a7a42862da67c90678406f658bb1ce88965..bcf139849a9be245fc0139416399df95c44e5f2f 100644 |
| --- a/ash/mus/context_menu_mus.cc |
| +++ b/ash/mus/context_menu_mus.cc |
| @@ -29,7 +29,7 @@ ContextMenuMus::~ContextMenuMus() {} |
| bool ContextMenuMus::IsCommandIdChecked(int command_id) const { |
| if (command_id == MENU_AUTO_HIDE) |
| - return shelf_->GetAutoHideBehavior() == SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS; |
| + return shelf_->auto_hide_behavior() == SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS; |
| return false; |
| } |
| @@ -47,7 +47,7 @@ bool ContextMenuMus::GetAcceleratorForCommandId(int command_id, |
| void ContextMenuMus::ExecuteCommand(int command_id, int event_flags) { |
| if (command_id == MENU_AUTO_HIDE) { |
| - shelf_->SetAutoHideBehavior(shelf_->GetAutoHideBehavior() == |
| + shelf_->SetAutoHideBehavior(shelf_->auto_hide_behavior() == |
| SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS |
|
msw
2016/05/27 22:36:40
nit: git cl format? (not your CL's fault if wrong)
James Cook
2016/05/27 22:56:26
This is the output of git cl format. :-(
|
| ? SHELF_AUTO_HIDE_BEHAVIOR_NEVER |
| : SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS); |