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 d96c0053fa3c39002e24ba5c074f4096dde1065c..597cf07397a5dfdb27bb763211c872aa5713ead8 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 |
@@ -418,8 +418,8 @@ void ArcAppWindowLauncherController::AttachControllerToWindowIfNeeded( |
base::MakeUnique<AppWindow>(task_id, info->app_shelf_id(), widget, this)); |
RegisterApp(info); |
DCHECK(info->app_window()->controller()); |
- window->SetProperty(ash::kShelfIDKey, |
- new ash::ShelfID(info->app_window()->shelf_id())); |
+ const ash::ShelfID shelf_id(info->app_window()->shelf_id()); |
+ window->SetProperty(ash::kShelfIDKey, new std::string(shelf_id.Serialize())); |
if (ash::Shell::Get() |
->maximize_mode_controller() |
->IsMaximizeModeWindowManagerEnabled()) { |