1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:48:11 +00:00

LibWeb: Port HTMLToken::to_deprecated_string to new AK String

This commit is contained in:
Shannon Booth 2023-11-05 11:45:55 +13:00 committed by Andreas Kling
parent d00c030fce
commit 1f8d72da8e
5 changed files with 6 additions and 8 deletions

View file

@ -91,7 +91,7 @@ static u32 hash_tokens(Vector<Token> const& tokens)
{
StringBuilder builder;
for (auto& token : tokens)
builder.append(token.to_deprecated_string());
builder.append(token.to_string());
return (u32)builder.string_view().hash();
}