1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

LibWeb: Use FlexItem& item consistenly in FlexFormattingContext

There was a pointless mix of `FlexItem*` vs `FlexItem&` as well as
`flex_item` vs `item`. Let's pick one and be consistent.
This commit is contained in:
Andreas Kling 2023-03-08 17:24:35 +01:00
parent 9eb8025463
commit 0315ba5e06
2 changed files with 199 additions and 199 deletions

View file

@ -87,7 +87,7 @@ private:
};
struct FlexLine {
Vector<FlexItem*> items;
Vector<FlexItem&> items;
CSSPixels cross_size { 0 };
CSSPixels remaining_free_space { 0 };
float chosen_flex_fraction { 0 };