LibWeb: Delete unused AvailableSize::to_px()

This commit is contained in:
Aliaksandr Kalenik 2023-08-12 18:32:04 +02:00 committed by Andreas Kling
parent fce4801460
commit bb52d76be3
Notes: sideshowbarker 2024-07-17 03:19:14 +09:00

View File

@ -33,11 +33,6 @@ public:
bool is_max_content() const { return m_type == Type::MaxContent; }
bool is_intrinsic_sizing_constraint() const { return is_min_content() || is_max_content(); }
CSSPixels to_px() const
{
return m_value;
}
CSSPixels to_px_or_zero() const
{
if (!is_definite())