LibJS+LibWeb: Remove more uses of DeprecatedFlyString

This commit is contained in:
Andreas Kling 2025-03-24 11:27:27 +00:00 committed by Andreas Kling
parent 46a5710238
commit f1914893e9
Notes: github-actions[bot] 2025-03-24 22:28:20 +00:00
12 changed files with 10 additions and 22 deletions

View file

@ -547,9 +547,9 @@ WebIDL::ExceptionOr<void> serialize_bytes(JS::VM& vm, Vector<u32>& vector, Reado
return {};
}
WebIDL::ExceptionOr<void> serialize_string(JS::VM& vm, Vector<u32>& vector, DeprecatedFlyString const& string)
WebIDL::ExceptionOr<void> serialize_string(JS::VM& vm, Vector<u32>& vector, StringView string)
{
return serialize_bytes(vm, vector, string.view().bytes());
return serialize_bytes(vm, vector, string.bytes());
}
WebIDL::ExceptionOr<void> serialize_string(JS::VM& vm, Vector<u32>& vector, String const& string)