diff options
author | Kenneth Myhra <kennethmyhra@gmail.com> | 2023-04-06 12:54:03 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-04-07 22:41:01 +0200 |
commit | 59a21c6274916652d1f5b322957baff4405a3934 (patch) | |
tree | 84cb9fb0aa19d0d652fd884db375a29636807b03 /Userland/Libraries/LibWeb/DOM/Document.cpp | |
parent | 44cf92616e59bda951b67cdae78a6361bdd76f7a (diff) | |
download | serenity-59a21c6274916652d1f5b322957baff4405a3934.zip |
LibWeb: Port CustomEvent to new String
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Document.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<JS::NonnullGCPtr<Event>> 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)) { |