diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-05-06 12:43:29 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-25 06:36:10 +0200 |
commit | 55334130613408e37880c6b9a8d99cde443f9da4 (patch) | |
tree | 8ebadd9285a0c304f25b92fb3447cc8ef0bc921b /Userland/Libraries/LibWeb | |
parent | 3c212c8535f6964054122c1b75b36f737a5d6188 (diff) | |
download | serenity-55334130613408e37880c6b9a8d99cde443f9da4.zip |
LibWeb: Remove "Invalid" StyleValue type
We never actually use this, we always initialize StyleValues with a
proper type.
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/StyleValue.h | 3 |
1 files changed, 1 insertions, 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<typename T> |