LibWeb: Replaced remaining usage and delete Size::resolved()

This commit is contained in:
Aliaksandr Kalenik 2024-10-06 16:36:04 +02:00 committed by Alexander Kalenik
commit 7225087fa2
Notes: github-actions[bot] 2024-10-06 17:26:10 +00:00
3 changed files with 2 additions and 10 deletions

View file

@ -45,9 +45,6 @@ public:
bool is_fit_content() const { return m_type == Type::FitContent; }
bool is_none() const { return m_type == Type::None; }
// FIXME: This is a stopgap API that will go away once all layout code is aware of CSS::Size.
CSS::Length resolved(Layout::Node const&, CSSPixels reference_value) const;
[[nodiscard]] CSSPixels to_px(Layout::Node const&, CSSPixels reference_value) const;
bool contains_percentage() const;