diff options
author | Kenneth Myhra <kennethmyhra@gmail.com> | 2023-04-06 16:12:33 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-04-07 22:41:01 +0200 |
commit | ad5cbdc51bd1673bedf544b4e6332896a7706171 (patch) | |
tree | cb3e0d647508e4607a858b2426ca97e2a8a2b02f /Userland/Libraries/LibWeb/CSS | |
parent | e0002aa9939c71deb32dc0065cba9e129e389ad5 (diff) | |
download | serenity-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/CSS')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/MediaQueryListEvent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/MediaQueryListEvent.cpp b/Userland/Libraries/LibWeb/CSS/MediaQueryListEvent.cpp index b143685804..875358c71f 100644 --- a/Userland/Libraries/LibWeb/CSS/MediaQueryListEvent.cpp +++ b/Userland/Libraries/LibWeb/CSS/MediaQueryListEvent.cpp @@ -16,7 +16,7 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<MediaQueryListEvent>> MediaQueryListEvent:: } MediaQueryListEvent::MediaQueryListEvent(JS::Realm& realm, FlyString const& event_name, MediaQueryListEventInit const& event_init) - : DOM::Event(realm, event_name.to_deprecated_fly_string(), event_init) + : DOM::Event(realm, event_name, event_init) , m_media(event_init.media) , m_matches(event_init.matches) { |