Index: chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc |
diff --git a/chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc b/chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc |
index 95d9805b32ae8781bd2a84dc64dfab4ae8a23c07..7651f052ee27bbd9429aff6fa5c3df24ac66be99 100644 |
--- a/chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc |
+++ b/chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc |
@@ -273,7 +273,7 @@ void KioskAppsHandler::SendKioskAppSettings() { |
PopulateAppDict(app_data, app_info.get()); |
apps_list->Append(std::move(app_info)); |
} |
- settings.SetWithoutPathExpansion("apps", apps_list.release()); |
+ settings.SetWithoutPathExpansion("apps", std::move(apps_list)); |
web_ui()->CallJavascriptFunctionUnsafe( |
"extensions.KioskAppsOverlay.setSettings", settings); |