From 1304bf5a219d042c5ccd2560bf99cedd76a85b45 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Tue, 12 Apr 2022 11:32:18 +0100 Subject: [PATCH] LibWeb: Stop manually forward-declaring types in CSS Parser.h --- Userland/Libraries/LibWeb/CSS/Parser/Parser.h | 7 +------ Userland/Libraries/LibWeb/Forward.h | 4 ++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Userland/Libraries/LibWeb/CSS/Parser/Parser.h b/Userland/Libraries/LibWeb/CSS/Parser/Parser.h index df67e78445..1b14d08541 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/Parser.h +++ b/Userland/Libraries/LibWeb/CSS/Parser/Parser.h @@ -28,15 +28,10 @@ #include #include #include +#include namespace Web::CSS { -class CSSStyleSheet; -class CSSRule; -class CSSStyleRule; -struct StyleProperty; -enum class PropertyID; - class ParsingContext { public: ParsingContext() = default; diff --git a/Userland/Libraries/LibWeb/Forward.h b/Userland/Libraries/LibWeb/Forward.h index 340d001245..5940d2a4bf 100644 --- a/Userland/Libraries/LibWeb/Forward.h +++ b/Userland/Libraries/LibWeb/Forward.h @@ -92,6 +92,10 @@ class TransformationStyleValue; class UnicodeRange; class UnresolvedStyleValue; class UnsetStyleValue; + +enum class MediaFeatureID; +enum class PropertyID; +enum class ValueID; } namespace Web::DOM {