LibWeb: Port DOM::Node from DeprecatedString

This commit is contained in:
Shannon Booth 2023-12-03 08:24:04 +13:00 committed by Andreas Kling
parent 89bbf53745
commit a8f5ebeddd
Notes: sideshowbarker 2024-07-17 11:30:05 +09:00
8 changed files with 26 additions and 27 deletions

View file

@ -106,7 +106,7 @@ String HTMLOptionElement::text() const
// https://html.spec.whatwg.org/multipage/form-elements.html#dom-option-text
void HTMLOptionElement::set_text(String const& text)
{
string_replace_all(text.to_deprecated_string());
string_replace_all(text);
}
// https://html.spec.whatwg.org/multipage/form-elements.html#concept-option-index