1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

LibWeb: Port NavigatorID from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-11-20 13:44:27 +13:00 committed by Andreas Kling
parent 0a4586d510
commit 6aff55d655
5 changed files with 24 additions and 24 deletions

View file

@ -451,7 +451,7 @@ void ConnectionFromClient::debug_request(DeprecatedString const& request, Deprec
}
if (request == "spoof-user-agent") {
Web::ResourceLoader::the().set_user_agent(argument);
Web::ResourceLoader::the().set_user_agent(MUST(String::from_deprecated_string(argument)));
return;
}