LibJS: Rename Utf16String::to_utf8 to to_deprecated_string

This commit is contained in:
Timothy Flynn
2023-01-13 12:13:07 -05:00
committed by Linus Groh
parent ca655f5e7d
commit 4eb5eb2080
Notes: sideshowbarker 2024-07-17 02:05:41 +09:00
3 changed files with 3 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ ThrowCompletionOr<DeprecatedString> PrimitiveString::deprecated_string() const
if (!has_deprecated_string()) {
VERIFY(has_utf16_string());
m_deprecated_string = TRY(m_utf16_string->to_utf8(vm()));
m_deprecated_string = TRY(m_utf16_string->to_deprecated_string(vm()));
}
return *m_deprecated_string;