Index: chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc |
diff --git a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc |
index 247a047e2bb1681bff1b7bcf8a0f1c37cf805dee..3dad13ed4aa96a7434c4408590d5c8795b6b6f2f 100644 |
--- a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc |
+++ b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc |
@@ -99,7 +99,8 @@ void ArcAppDeferredLauncherController::Close(const std::string& app_id) { |
if (it == app_controller_map_.end()) |
return; |
- const ash::ShelfID shelf_id = owner_->GetShelfIDForAppID(shelf_app_id); |
+ const ash::ShelfID shelf_id = |
+ owner_->GetShelfIDForAppID(shelf_app_id, shelf_app_id); |
const bool need_close_item = |
it->second == owner_->GetLauncherItemController(shelf_id); |
app_controller_map_.erase(it); |
@@ -158,7 +159,8 @@ void ArcAppDeferredLauncherController::RegisterDeferredLaunch( |
const std::string& app_id) { |
const std::string shelf_app_id = |
ArcAppWindowLauncherController::GetShelfAppIdFromArcAppId(app_id); |
- const ash::ShelfID shelf_id = owner_->GetShelfIDForAppID(shelf_app_id); |
+ const ash::ShelfID shelf_id = |
+ owner_->GetShelfIDForAppID(shelf_app_id, shelf_app_id); |
if (shelf_id) { |
LauncherItemController* controller = |