| Index: chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
|
| index 190a91f6956b3cff64fc9e13aea39455c49361dc..6d866dafc486c02b41a634f47f72ee4fc2cdba2b 100644
|
| --- a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
|
| +++ b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
|
| @@ -145,6 +145,10 @@ AppShortcutLauncherItemController::GetRunningApplications() {
|
| const Extension* extension =
|
| launcher_controller()->GetExtensionForAppID(app_id());
|
|
|
| + // It is possible to come here While an extension gets loaded.
|
| + if (!extension)
|
| + return items;
|
| +
|
| const chrome::BrowserListImpl* ash_browser_list =
|
| chrome::BrowserListImpl::GetInstance(chrome::HOST_DESKTOP_TYPE_ASH);
|
| for (chrome::BrowserListImpl::const_reverse_iterator it =
|
|
|