mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 04:37:22 +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
Notes:
sideshowbarker
2024-07-17 11:33:34 +09:00
Author: https://github.com/AtkinsSJ
Commit: 5533413061
Pull-request: https://github.com/SerenityOS/serenity/pull/19028
1 changed files with 1 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue