From 59a21c6274916652d1f5b322957baff4405a3934 Mon Sep 17 00:00:00 2001 From: Kenneth Myhra Date: Thu, 6 Apr 2023 12:54:03 +0200 Subject: LibWeb: Port CustomEvent to new String --- Userland/Libraries/LibWeb/DOM/Document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibWeb/DOM/Document.cpp') diff --git a/Userland/Libraries/LibWeb/DOM/Document.cpp b/Userland/Libraries/LibWeb/DOM/Document.cpp index eec643d26a..4408440f6b 100644 --- a/Userland/Libraries/LibWeb/DOM/Document.cpp +++ b/Userland/Libraries/LibWeb/DOM/Document.cpp @@ -1296,7 +1296,7 @@ WebIDL::ExceptionOr> Document::create_event(DeprecatedSt } else if (Infra::is_ascii_case_insensitive_match(interface, "compositionevent"sv)) { event = TRY(Event::create(realm, "")); // FIXME: Create CompositionEvent } else if (Infra::is_ascii_case_insensitive_match(interface, "customevent"sv)) { - event = TRY(CustomEvent::create(realm, "")); + event = TRY(CustomEvent::create(realm, FlyString {})); } else if (Infra::is_ascii_case_insensitive_match(interface, "devicemotionevent"sv)) { event = TRY(Event::create(realm, "")); // FIXME: Create DeviceMotionEvent } else if (Infra::is_ascii_case_insensitive_match(interface, "deviceorientationevent"sv)) { -- cgit v1.2.3