| Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| index 5bca6e22ab9a07a8e666241b76ead5b3c5d4fe7a..0e934f0e389e1061ed2c3c707597090b0aeb6fc9 100644
|
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| @@ -11,9 +11,9 @@
|
| #include "ash/launcher/launcher.h"
|
| #include "ash/launcher/launcher_item_delegate_manager.h"
|
| #include "ash/launcher/launcher_model.h"
|
| +#include "ash/launcher/launcher_model_util.h"
|
| #include "ash/root_window_controller.h"
|
| #include "ash/shelf/shelf_layout_manager.h"
|
| -#include "ash/shelf/shelf_util.h"
|
| #include "ash/shelf/shelf_widget.h"
|
| #include "ash/shell.h"
|
| #include "ash/wm/window_util.h"
|
| @@ -962,7 +962,8 @@ void ChromeLauncherController::ActivateWindowOrMinimizeIfActive(
|
| }
|
|
|
| ash::LauncherID ChromeLauncherController::GetIDByWindow(aura::Window* window) {
|
| - int browser_index = ash::GetBrowserItemIndex(*model_);
|
| + int browser_index =
|
| + ash::GetLauncherItemIndexForType(ash::TYPE_BROWSER_SHORTCUT, *model_);
|
| DCHECK_GE(browser_index, 0);
|
| ash::LauncherID browser_id = model_->items()[browser_index].id;
|
|
|
|
|