summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/Parser/DeclarationOrAtRule.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Parser/DeclarationOrAtRule.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Parser/DeclarationOrAtRule.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Parser/DeclarationOrAtRule.h b/Userland/Libraries/LibWeb/CSS/Parser/DeclarationOrAtRule.h
index e8b8f67a84..e5a35f8bb1 100644
--- a/Userland/Libraries/LibWeb/CSS/Parser/DeclarationOrAtRule.h
+++ b/Userland/Libraries/LibWeb/CSS/Parser/DeclarationOrAtRule.h
@@ -7,13 +7,13 @@
#pragma once
#include <LibWeb/CSS/Parser/Declaration.h>
-#include <LibWeb/CSS/Parser/StyleRule.h>
+#include <LibWeb/CSS/Parser/Rule.h>
namespace Web::CSS::Parser {
class DeclarationOrAtRule {
public:
- explicit DeclarationOrAtRule(RefPtr<StyleRule> at);
+ explicit DeclarationOrAtRule(RefPtr<Rule> at);
explicit DeclarationOrAtRule(Declaration declaration);
~DeclarationOrAtRule();
@@ -25,7 +25,7 @@ public:
bool is_at_rule() const { return m_type == DeclarationType::At; }
bool is_declaration() const { return m_type == DeclarationType::Declaration; }
- StyleRule const& at_rule() const
+ Rule const& at_rule() const
{
VERIFY(is_at_rule());
return *m_at;
@@ -41,7 +41,7 @@ public:
private:
DeclarationType m_type;
- RefPtr<StyleRule> m_at;
+ RefPtr<Rule> m_at;
Optional<Declaration> m_declaration;
};