1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:17:35 +00:00

LibWeb: Don't convert to floating point in CSS::EdgeRect

This commit is contained in:
Zaggy1024 2023-08-31 17:16:39 -05:00 committed by Alexander Kalenik
parent 9d4a1ac2b3
commit 709767cc4b
3 changed files with 8 additions and 8 deletions

View file

@ -19,7 +19,7 @@ struct EdgeRect {
Length right_edge;
Length bottom_edge;
Length left_edge;
Gfx::FloatRect resolved(Layout::Node const&, Gfx::Rect<double>) const;
CSSPixelRect resolved(Layout::Node const&, CSSPixelRect) const;
bool operator==(EdgeRect const&) const = default;
};