mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:17:35 +00:00
LibWeb: Delete unused AvailableSize::to_px()
This commit is contained in:
parent
fce4801460
commit
bb52d76be3
1 changed files with 0 additions and 5 deletions
|
@ -33,11 +33,6 @@ public:
|
||||||
bool is_max_content() const { return m_type == Type::MaxContent; }
|
bool is_max_content() const { return m_type == Type::MaxContent; }
|
||||||
bool is_intrinsic_sizing_constraint() const { return is_min_content() || is_max_content(); }
|
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
|
CSSPixels to_px_or_zero() const
|
||||||
{
|
{
|
||||||
if (!is_definite())
|
if (!is_definite())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue