mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 01:08:48 +00:00
LibWeb: Port named_item_value from DeprecatedFlyString
This commit is contained in:
parent
c7cd6f2bef
commit
b37aab1277
Notes:
sideshowbarker
2024-07-16 22:26:05 +09:00
Author: https://github.com/shannonbooth
Commit: b37aab1277
Pull-request: https://github.com/SerenityOS/serenity/pull/21376
19 changed files with 33 additions and 36 deletions
|
@ -193,9 +193,9 @@ WebIDL::ExceptionOr<Bindings::LegacyPlatformObject::DidDeletionFail> DOMStringMa
|
|||
return DidDeletionFail::No;
|
||||
}
|
||||
|
||||
WebIDL::ExceptionOr<JS::Value> DOMStringMap::named_item_value(DeprecatedFlyString const& name) const
|
||||
WebIDL::ExceptionOr<JS::Value> DOMStringMap::named_item_value(FlyString const& name) const
|
||||
{
|
||||
return JS::PrimitiveString::create(vm(), determine_value_of_named_property(name));
|
||||
return JS::PrimitiveString::create(vm(), determine_value_of_named_property(name.to_deprecated_fly_string()));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue