mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:37:35 +00:00
LibWeb: Simplify FFC get_pixel_{width,height} internal helper API
These took an Optional<CSS::Size> for some reason, but that was not necessary. Just take a CSS::Size.
This commit is contained in:
parent
6b19397452
commit
07f6ee9e73
2 changed files with 8 additions and 12 deletions
|
@ -120,8 +120,8 @@ private:
|
|||
CSS::Size const& computed_cross_min_size(Box const&) const;
|
||||
CSS::Size const& computed_cross_max_size(Box const&) const;
|
||||
|
||||
CSSPixels get_pixel_width(Box const& box, Optional<CSS::Size> const& length_percentage) const;
|
||||
CSSPixels get_pixel_height(Box const& box, Optional<CSS::Size> const& length_percentage) const;
|
||||
CSSPixels get_pixel_width(Box const&, CSS::Size const&) const;
|
||||
CSSPixels get_pixel_height(Box const&, CSS::Size const&) const;
|
||||
|
||||
bool flex_item_is_stretched(FlexItem const&) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue