Index: ash/shelf/shelf_alignment_menu.cc |
diff --git a/ash/shelf/shelf_alignment_menu.cc b/ash/shelf/shelf_alignment_menu.cc |
index 84fe792630c8639068731edc26dc7dc4c50674b5..4fbba2ed56679e3c7e38bfb680ff518aa48c46ec 100644 |
--- a/ash/shelf/shelf_alignment_menu.cc |
+++ b/ash/shelf/shelf_alignment_menu.cc |
@@ -34,12 +34,11 @@ ShelfAlignmentMenu::ShelfAlignmentMenu(aura::Window* root) |
ShelfAlignmentMenu::~ShelfAlignmentMenu() {} |
bool ShelfAlignmentMenu::IsCommandIdChecked(int command_id) const { |
- return internal::ShelfLayoutManager::ForShelf(root_window_)-> |
- SelectValueForShelfAlignment( |
- MENU_ALIGN_BOTTOM == command_id, |
- MENU_ALIGN_LEFT == command_id, |
- MENU_ALIGN_RIGHT == command_id, |
- false); |
+ return ShelfLayoutManager::ForShelf(root_window_) |
+ ->SelectValueForShelfAlignment(MENU_ALIGN_BOTTOM == command_id, |
+ MENU_ALIGN_LEFT == command_id, |
+ MENU_ALIGN_RIGHT == command_id, |
+ false); |
} |
bool ShelfAlignmentMenu::IsCommandIdEnabled(int command_id) const { |