1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:27:35 +00:00

LibWeb: Port CSSRule::serialized from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-11-20 23:16:39 +13:00 committed by Tim Flynn
parent 890cce6fbb
commit d400291ad9
18 changed files with 30 additions and 30 deletions

View file

@ -35,7 +35,7 @@ public:
virtual Type type() const = 0;
DeprecatedString css_text() const;
String css_text() const;
void set_css_text(StringView);
CSSRule* parent_rule() { return m_parent_rule.ptr(); }
@ -50,7 +50,7 @@ public:
protected:
explicit CSSRule(JS::Realm&);
virtual DeprecatedString serialized() const = 0;
virtual String serialized() const = 0;
virtual void visit_edges(Cell::Visitor&) override;