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:
parent
f690259a42
commit
06cd418770
5 changed files with 28 additions and 26 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue