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:
parent
d93e916d0c
commit
da637a527d
Notes:
sideshowbarker
2024-07-16 20:44:03 +09:00
Author: https://github.com/shannonbooth
Commit: da637a527d
Pull-request: https://github.com/SerenityOS/serenity/pull/20926
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/trflynn89 ✅
5 changed files with 22 additions and 16 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue