1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

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

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())