Index: chrome/browser/ui/ash/launcher/launcher_context_menu.cc |
diff --git a/chrome/browser/ui/ash/launcher/launcher_context_menu.cc b/chrome/browser/ui/ash/launcher/launcher_context_menu.cc |
index 337b3c8ea453b423f7f15b3636798f8eb8a604a0..56633d0dfd1b9c43e1427fa953e0f53e1bd40462 100644 |
--- a/chrome/browser/ui/ash/launcher/launcher_context_menu.cc |
+++ b/chrome/browser/ui/ash/launcher/launcher_context_menu.cc |
@@ -116,7 +116,7 @@ void LauncherContextMenu::ExecuteCommand(int command_id, int event_flags) { |
case MENU_CLOSE: |
if (item_.type == ash::TYPE_DIALOG) { |
ash::ShelfItemDelegate* item_delegate = |
- ash::Shell::Get()->shelf_model()->GetShelfItemDelegate(item_.id); |
+ controller_->shelf_model()->GetShelfItemDelegate(item_.id); |
DCHECK(item_delegate); |
item_delegate->Close(); |
} else { |