mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:27:43 +00:00
LibJS: Rename Utf16String::to_utf8 to to_deprecated_string
This commit is contained in:
parent
ca655f5e7d
commit
4eb5eb2080
3 changed files with 3 additions and 3 deletions
|
@ -102,7 +102,7 @@ Utf16View Utf16String::substring_view(size_t code_unit_offset) const
|
|||
return view().substring_view(code_unit_offset);
|
||||
}
|
||||
|
||||
ThrowCompletionOr<DeprecatedString> Utf16String::to_utf8(VM& vm) const
|
||||
ThrowCompletionOr<DeprecatedString> Utf16String::to_deprecated_string(VM& vm) const
|
||||
{
|
||||
return TRY_OR_THROW_OOM(vm, view().to_deprecated_string(Utf16View::AllowInvalidCodeUnits::Yes));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue