mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 16:49:54 +00:00
LibJS+LibWeb: Remove more uses of DeprecatedFlyString
This commit is contained in:
parent
46a5710238
commit
f1914893e9
Notes:
github-actions[bot]
2025-03-24 22:28:20 +00:00
Author: https://github.com/awesomekling
Commit: f1914893e9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4067
Reviewed-by: https://github.com/trflynn89
12 changed files with 10 additions and 22 deletions
|
@ -229,11 +229,6 @@ GC::Ref<PrimitiveString> PrimitiveString::create(VM& vm, ByteString string)
|
|||
return *it->value;
|
||||
}
|
||||
|
||||
GC::Ref<PrimitiveString> PrimitiveString::create(VM& vm, DeprecatedFlyString const& string)
|
||||
{
|
||||
return create(vm, ByteString { string });
|
||||
}
|
||||
|
||||
GC::Ref<PrimitiveString> PrimitiveString::create(VM& vm, PrimitiveString& lhs, PrimitiveString& rhs)
|
||||
{
|
||||
// We're here to concatenate two strings into a new rope string.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue