1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:57:42 +00:00

LibWeb: Port AriaData from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-11-20 21:59:45 +13:00 committed by Andreas Kling
parent 6c42de3e8b
commit c5d3ccca00
8 changed files with 86 additions and 86 deletions

View file

@ -2062,9 +2062,9 @@ void Element::scroll(HTML::ScrollToOptions const&)
dbgln("FIXME: Implement Element::scroll(ScrollToOptions)");
}
bool Element::id_reference_exists(DeprecatedString const& id_reference) const
bool Element::id_reference_exists(String const& id_reference) const
{
return document().get_element_by_id(MUST(FlyString::from_deprecated_fly_string(id_reference)));
return document().get_element_by_id(id_reference);
}
void Element::register_intersection_observer(Badge<IntersectionObserver::IntersectionObserver>, IntersectionObserver::IntersectionObserverRegistration registration)