mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:47:45 +00:00
LibWeb: Remove "Invalid" StyleValue type
We never actually use this, we always initialize StyleValues with a proper type.
This commit is contained in:
parent
3c212c8535
commit
5533413061
1 changed files with 1 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue