Index: ash/shelf/shelf_alignment_menu.cc |
diff --git a/ash/shelf/shelf_alignment_menu.cc b/ash/shelf/shelf_alignment_menu.cc |
index 3f77da133a5c6edda1ef7f4d35e04a45437fd318..84fe792630c8639068731edc26dc7dc4c50674b5 100644 |
--- a/ash/shelf/shelf_alignment_menu.cc |
+++ b/ash/shelf/shelf_alignment_menu.cc |
@@ -34,7 +34,7 @@ ShelfAlignmentMenu::ShelfAlignmentMenu(aura::Window* root) |
ShelfAlignmentMenu::~ShelfAlignmentMenu() {} |
bool ShelfAlignmentMenu::IsCommandIdChecked(int command_id) const { |
- return internal::ShelfLayoutManager::ForLauncher(root_window_)-> |
+ return internal::ShelfLayoutManager::ForShelf(root_window_)-> |
SelectValueForShelfAlignment( |
MENU_ALIGN_BOTTOM == command_id, |
MENU_ALIGN_LEFT == command_id, |