1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 02:28:12 +00:00

LibWeb: Convert QualifiedStyleRule to a RefPtr type in new Parser

This commit is contained in:
Sam Atkins 2021-07-01 16:49:33 +01:00 committed by Andreas Kling
parent f690259a42
commit 06cd418770
5 changed files with 28 additions and 26 deletions

View file

@ -15,7 +15,7 @@ class DeclarationOrAtRule {
friend class Parser;
public:
explicit DeclarationOrAtRule(AtStyleRule at);
explicit DeclarationOrAtRule(RefPtr<AtStyleRule> at);
explicit DeclarationOrAtRule(StyleDeclarationRule declaration);
~DeclarationOrAtRule();
@ -28,7 +28,7 @@ public:
private:
DeclarationType m_type;
AtStyleRule m_at;
RefPtr<AtStyleRule> m_at;
StyleDeclarationRule m_declaration;
};