From 55334130613408e37880c6b9a8d99cde443f9da4 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Sat, 6 May 2023 12:43:29 +0100 Subject: [PATCH] LibWeb: Remove "Invalid" StyleValue type We never actually use this, we always initialize StyleValues with a proper type. --- Userland/Libraries/LibWeb/CSS/StyleValue.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/CSS/StyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValue.h index d5aa2ea85a..badf589ffd 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValue.h +++ b/Userland/Libraries/LibWeb/CSS/StyleValue.h @@ -115,7 +115,6 @@ public: Image, Inherit, Initial, - Invalid, Length, LinearGradient, ListStyle, @@ -318,7 +317,7 @@ protected: explicit StyleValue(Type); private: - Type m_type { Type::Invalid }; + Type m_type; }; template