Files
servo/components/layout
Martin Robinson aa59e2ba4c layout: Remove an unnecessary borrow in stacking context tree construction (#41982)
`fragment` is already borrowed here as `self`. `fragment` is just passed
in order to access the `Fragment` that contains the `self` inside an
`ArcRefCell`. This change removes the unecessary borrow and accesses the
`BoxFragment` directly.

Testing: This is a small optimization, so should be covered by existing
tests.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2026-01-18 14:35:25 +00:00
..