diff options
author | Kenneth Myhra <kennethmyhra@gmail.com> | 2023-04-06 07:25:18 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-04-06 23:49:08 +0200 |
commit | 4d87072201efc4ef9086588255fbb1bb993872ab (patch) | |
tree | eacc0403ddd251ada971e7809d0b530239feb7b3 /Userland/Libraries/LibWeb/HTML/HTMLLinkElement.cpp | |
parent | d6cf9f53297a8fe2e8455b0502cd458cd42ba12d (diff) | |
download | serenity-4d87072201efc4ef9086588255fbb1bb993872ab.zip |
LibWeb: Port {HTML,UIEvents,XHR}::EventNames to new String
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLLinkElement.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLLinkElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.cpp index 58a17ab15f..0ff92b7848 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.cpp @@ -403,11 +403,11 @@ void HTMLLinkElement::process_stylesheet_resource(bool success, Fetch::Infrastru } // 2. Fire an event named load at el. - dispatch_event(*DOM::Event::create(realm(), HTML::EventNames::load).release_value_but_fixme_should_propagate_errors()); + dispatch_event(*DOM::Event::create(realm(), HTML::EventNames::load.to_deprecated_fly_string()).release_value_but_fixme_should_propagate_errors()); } // 5. Otherwise, fire an event named error at el. else { - dispatch_event(*DOM::Event::create(realm(), HTML::EventNames::error).release_value_but_fixme_should_propagate_errors()); + dispatch_event(*DOM::Event::create(realm(), HTML::EventNames::error.to_deprecated_fly_string()).release_value_but_fixme_should_propagate_errors()); } // FIXME: 6. If el contributes a script-blocking style sheet, then: |