mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 14:38:12 +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
|
@ -8,7 +8,7 @@
|
|||
|
||||
namespace Web::HTML {
|
||||
|
||||
DeprecatedString HTMLToken::to_deprecated_string() const
|
||||
String HTMLToken::to_string() const
|
||||
{
|
||||
StringBuilder builder;
|
||||
|
||||
|
@ -70,7 +70,7 @@ DeprecatedString HTMLToken::to_deprecated_string() const
|
|||
builder.appendff("@{}:{}-{}:{}", m_start_position.line, m_start_position.column, m_end_position.line, m_end_position.column);
|
||||
}
|
||||
|
||||
return builder.to_deprecated_string();
|
||||
return MUST(builder.to_string());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue