| 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 adf549880de98e30533a5b0a7791ce70f7d0751b..f2e7a25df6edb88539165541e67fe60b3c2c81fe 100644
|
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| @@ -14,7 +14,6 @@
|
| #include "ash/root_window_controller.h"
|
| #include "ash/shelf/shelf_layout_manager.h"
|
| #include "ash/shelf/shelf_model.h"
|
| -#include "ash/shelf/shelf_model_util.h"
|
| #include "ash/shelf/shelf_widget.h"
|
| #include "ash/shell.h"
|
| #include "ash/wm/window_util.h"
|
| @@ -1080,8 +1079,7 @@ void ChromeLauncherController::ActivateWindowOrMinimizeIfActive(
|
| }
|
|
|
| ash::LauncherID ChromeLauncherController::GetIDByWindow(aura::Window* window) {
|
| - int browser_index =
|
| - ash::GetShelfItemIndexForType(ash::TYPE_BROWSER_SHORTCUT, *model_);
|
| + int browser_index = model_->GetItemIndexForType(ash::TYPE_BROWSER_SHORTCUT);
|
| DCHECK_GE(browser_index, 0);
|
| ash::LauncherID browser_id = model_->items()[browser_index].id;
|
|
|
|
|