1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 08:37:35 +00:00

LibWeb: Port CSSStyleSheet interface from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-09-03 14:19:49 +12:00 committed by Tim Flynn
parent d93e916d0c
commit da637a527d
5 changed files with 22 additions and 16 deletions

View file

@ -29,7 +29,7 @@ public:
void set_owner_css_rule(CSSRule* rule) { m_owner_css_rule = rule; }
virtual DeprecatedString type() const override { return "text/css"; }
virtual String type() const override { return "text/css"_string; }
CSSRuleList const& rules() const { return *m_rules; }
CSSRuleList& rules() { return *m_rules; }