mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:27:35 +00:00
LibWeb: Add pointer from BFC::FloatingBox to its UsedValues
This will allow us to skip a lot more hash lookups.
This commit is contained in:
parent
57fd494195
commit
7a34f1a4e2
2 changed files with 4 additions and 0 deletions
|
@ -89,6 +89,9 @@ private:
|
|||
|
||||
struct FloatingBox {
|
||||
JS::NonnullGCPtr<Box const> box;
|
||||
|
||||
LayoutState::UsedValues& used_values;
|
||||
|
||||
// Offset from left/right edge to the left content edge of `box`.
|
||||
CSSPixels offset_from_edge { 0 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue