Pārlūkot izejas kodu

LibWeb: Remove "Invalid" StyleValue type

We never actually use this, we always initialize StyleValues with a
proper type.
Sam Atkins 2 gadi atpakaļ
vecāks
revīzija
5533413061
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      Userland/Libraries/LibWeb/CSS/StyleValue.h

+ 1 - 2
Userland/Libraries/LibWeb/CSS/StyleValue.h

@@ -115,7 +115,6 @@ public:
         Image,
         Image,
         Inherit,
         Inherit,
         Initial,
         Initial,
-        Invalid,
         Length,
         Length,
         LinearGradient,
         LinearGradient,
         ListStyle,
         ListStyle,
@@ -318,7 +317,7 @@ protected:
     explicit StyleValue(Type);
     explicit StyleValue(Type);
 
 
 private:
 private:
-    Type m_type { Type::Invalid };
+    Type m_type;
 };
 };
 
 
 template<typename T>
 template<typename T>