diff options
author | Kenneth Myhra <kennethmyhra@gmail.com> | 2023-04-09 09:52:27 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-04-09 17:27:27 +0200 |
commit | 2091a114880de5585a13bdd56b476df4bb031f1d (patch) | |
tree | 3ba0ddd7dc5eade34717507ca18bf69e40caa88a /Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.cpp | |
parent | 868cd9506923b6e47b56fdb0ec7cb1cc09031960 (diff) | |
download | serenity-2091a114880de5585a13bdd56b476df4bb031f1d.zip |
LibWeb: Port EventTarget to new {Fly}String
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.cpp index 6fed1f85e9..8eb75aeb00 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.cpp @@ -30,9 +30,9 @@ void HTMLFrameSetElement::parse_attribute(DeprecatedFlyString const& name, Depre HTMLElement::parse_attribute(name, value); #undef __ENUMERATE -#define __ENUMERATE(attribute_name, event_name) \ - if (name == HTML::AttributeNames::attribute_name) { \ - element_event_handler_attribute_changed(event_name, value); \ +#define __ENUMERATE(attribute_name, event_name) \ + if (name == HTML::AttributeNames::attribute_name) { \ + element_event_handler_attribute_changed(event_name, String::from_deprecated_string(value).release_value()); \ } ENUMERATE_WINDOW_EVENT_HANDLERS(__ENUMERATE) #undef __ENUMERATE |