mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
LibWeb: Port AriaData from DeprecatedString to String
This commit is contained in:
parent
6c42de3e8b
commit
c5d3ccca00
Notes:
sideshowbarker
2024-07-17 02:35:27 +09:00
Author: https://github.com/shannonbooth
Commit: c5d3ccca00
Pull-request: https://github.com/SerenityOS/serenity/pull/21997
Reviewed-by: https://github.com/AtkinsSJ ✅
8 changed files with 86 additions and 86 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue