From bb52d76be3a19274ed0ae82f858cc03660d63cde Mon Sep 17 00:00:00 2001 From: Aliaksandr Kalenik Date: Sat, 12 Aug 2023 18:32:04 +0200 Subject: [PATCH] LibWeb: Delete unused AvailableSize::to_px() --- Userland/Libraries/LibWeb/Layout/AvailableSpace.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Userland/Libraries/LibWeb/Layout/AvailableSpace.h b/Userland/Libraries/LibWeb/Layout/AvailableSpace.h index ca9f1f94550..a15aad7a91c 100644 --- a/Userland/Libraries/LibWeb/Layout/AvailableSpace.h +++ b/Userland/Libraries/LibWeb/Layout/AvailableSpace.h @@ -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())