LibWeb: Use default comparator for PixelUnits

This commit is contained in:
Hendiadyoin1 2023-08-04 16:55:17 +02:00 committed by Alexander Kalenik
parent 71f56d8697
commit 95d00553c9

View file

@ -56,10 +56,7 @@ bool CSSPixels::might_be_saturated() const
return raw_value() == NumericLimits<i32>::max() || raw_value() == NumericLimits<i32>::min();
}
bool CSSPixels::operator==(CSSPixels const& other) const
{
return raw_value() == other.raw_value();
}
bool CSSPixels::operator==(CSSPixels const& other) const = default;
CSSPixels& CSSPixels::operator++()
{