| 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 1ca90be8aa69bf0e2af44d441477c5db9f9791d1..ef90cc0bf118cf3da7f7237a192ac051b43c537d 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
|
| @@ -194,12 +194,9 @@ BrowserShortcutLauncherItemController::GetApplicationList(int event_flags) {
|
| for (BrowserList::const_iterator it = ash_browser_list->begin();
|
| it != ash_browser_list->end(); ++it) {
|
| Browser* browser = *it;
|
| - // Make sure that the browser was already shown, is from the current user
|
| - // and has a proper window.
|
| + // Make sure that the browser is from the current user and has a proper
|
| + // window.
|
| if (!launcher_controller()->IsBrowserFromActiveUser(browser) ||
|
| - std::find(ash_browser_list->begin_last_active(),
|
| - ash_browser_list->end_last_active(),
|
| - browser) == ash_browser_list->end_last_active() ||
|
| !browser->window())
|
| continue;
|
| if (browser->is_type_tabbed())
|
|
|