| Index: chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
|
| index ccee5f499d530f6d37de6267e72ccfb848f7203c..d6e8f2e2499f857ff29190b78260f7cee1f8a596 100644
|
| --- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
|
| +++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
|
| @@ -6,7 +6,6 @@
|
| #include <string>
|
|
|
| #include "ash/common/shelf/shelf_delegate.h"
|
| -#include "ash/common/shelf/shelf_model.h"
|
| #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
|
| #include "ash/common/wm/window_state.h"
|
| #include "ash/common/wm_window.h"
|
| @@ -660,8 +659,7 @@
|
| if (!shelf_id) {
|
| owner()->CreateAppLauncherItem(std::move(controller), ash::STATUS_RUNNING);
|
| } else {
|
| - ash::ShelfModel* shelf_model = ash::Shell::Get()->shelf_model();
|
| - shelf_model->SetShelfItemDelegate(shelf_id, std::move(controller));
|
| + owner()->SetShelfItemDelegate(shelf_id, std::move(controller));
|
| owner()->SetItemStatus(shelf_id, ash::STATUS_RUNNING);
|
| }
|
| item_controller->AddTaskId(task_id);
|
|
|