Index: chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc |
diff --git a/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc |
index bd4c39734264403f68ea464a21c9e51614125aba..76ee5519c9c9f85e1b5a6ed3c042a376fae4e78b 100644 |
--- a/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc |
+++ b/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc |
@@ -74,7 +74,7 @@ void BrowserShortcutLauncherItemController::UpdateBrowserItemState() { |
if (!ash::Shell::HasInstance()) |
return; |
- ash::ShelfModel* model = launcher_controller()->model(); |
+ ash::ShelfModel* model = ash::Shell::GetInstance()->shelf_model(); |
// Determine the new browser's active state and change if necessary. |
int browser_index = model->GetItemIndexForType(ash::TYPE_BROWSER_SHORTCUT); |