summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.cpp b/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.cpp
index 3bcc635007..f77a6f91da 100644
--- a/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.cpp
+++ b/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.cpp
@@ -8,7 +8,7 @@
namespace Web::HTML {
-DeprecatedString HTMLToken::to_string() const
+DeprecatedString HTMLToken::to_deprecated_string() const
{
StringBuilder builder;
@@ -70,7 +70,7 @@ DeprecatedString HTMLToken::to_string() const
builder.appendff("@{}:{}-{}:{}", m_start_position.line, m_start_position.column, m_end_position.line, m_end_position.column);
}
- return builder.to_string();
+ return builder.to_deprecated_string();
}
}