mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-01 07:35:02 +03:00
LibWeb: Delete unused AvailableSize::to_px()
This commit is contained in:
parent
fce4801460
commit
bb52d76be3
Notes:
sideshowbarker
2024-07-17 03:19:14 +09:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/SerenityOS/serenity/commit/bb52d76be3 Pull-request: https://github.com/SerenityOS/serenity/pull/20528
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user