1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:58:12 +00:00

LibWeb: Use String for getting/setting MediaQueryList media

This commit is contained in:
Sam Atkins 2023-12-01 16:54:48 +00:00 committed by Andreas Kling
parent 6dbc3044bd
commit ef1e942f3e
6 changed files with 7 additions and 7 deletions

View file

@ -95,7 +95,7 @@ void StyleElementUtils::create_a_css_style_sheet(DOM::Document& document, Deprec
sheet.set_owner_css_rule(owner_rule);
sheet.set_owner_node(owner_node);
sheet.set_type(MUST(String::from_deprecated_string(type)));
sheet.set_media(move(media));
sheet.set_media(MUST(String::from_deprecated_string(media)));
sheet.set_title(MUST(String::from_deprecated_string(title)));
sheet.set_alternate(alternate);
sheet.set_origin_clean(origin_clean);