LibWeb: Port {HTML,UIEvents,XHR}::EventNames to new String

This commit is contained in:
Kenneth Myhra 2023-04-06 07:25:18 +02:00 committed by Linus Groh
commit 4d87072201
Notes: sideshowbarker 2024-07-17 06:20:50 +09:00
42 changed files with 149 additions and 142 deletions

View file

@ -319,7 +319,7 @@ void HTMLElement::click()
m_click_in_progress = true;
// FIXME: 4. Fire a synthetic pointer event named click at this element, with the not trusted flag set.
fire_a_synthetic_pointer_event(HTML::EventNames::click, *this, true);
fire_a_synthetic_pointer_event(HTML::EventNames::click.to_deprecated_fly_string(), *this, true);
// 5. Unset this element's click in progress flag.
m_click_in_progress = false;