summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/PageTransitionEvent.cpp
diff options
context:
space:
mode:
authorKenneth Myhra <kennethmyhra@gmail.com>2023-04-06 16:12:33 +0200
committerLinus Groh <mail@linusgroh.de>2023-04-07 22:41:01 +0200
commitad5cbdc51bd1673bedf544b4e6332896a7706171 (patch)
treecb3e0d647508e4607a858b2426ca97e2a8a2b02f /Userland/Libraries/LibWeb/HTML/PageTransitionEvent.cpp
parente0002aa9939c71deb32dc0065cba9e129e389ad5 (diff)
downloadserenity-ad5cbdc51bd1673bedf544b4e6332896a7706171.zip
LibWeb: Port {Mouse,UI,Wheel,}Event to new String
This ports MouseEvent, UIEvent, WheelEvent, and Event to new String. They all had a dependency to T::create() in WebDriverConnection::fire_an_event() and therefore had to be ported in the same commit.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/PageTransitionEvent.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/PageTransitionEvent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/PageTransitionEvent.cpp b/Userland/Libraries/LibWeb/HTML/PageTransitionEvent.cpp
index 6ee7eac56b..ab234a55d9 100644
--- a/Userland/Libraries/LibWeb/HTML/PageTransitionEvent.cpp
+++ b/Userland/Libraries/LibWeb/HTML/PageTransitionEvent.cpp
@@ -20,7 +20,7 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<PageTransitionEvent>> PageTransitionEvent::
}
PageTransitionEvent::PageTransitionEvent(JS::Realm& realm, FlyString const& event_name, PageTransitionEventInit const& event_init)
- : DOM::Event(realm, event_name.to_deprecated_fly_string(), event_init)
+ : DOM::Event(realm, event_name, event_init)
, m_persisted(event_init.persisted)
{
}