layout: Reduce the complexity of FlexLine::layout (#32810)

Instead of a complex combination of iterators, use a flatter iteration
design when laying out a flex line.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
Martin Robinson 2024-07-19 12:37:29 +02:00 committed by GitHub
parent 8b3c9b744a
commit 5eb77592ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 121 additions and 151 deletions

1
Cargo.lock generated
View file

@ -3406,6 +3406,7 @@ dependencies = [
"html5ever",
"icu_segmenter",
"ipc-channel",
"itertools 0.13.0",
"lazy_static",
"log",
"net_traits",