1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09: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
Notes: sideshowbarker 2024-07-16 20:44:03 +09:00
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; }