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:
parent
d00c030fce
commit
1f8d72da8e
5 changed files with 6 additions and 8 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue