mirror of
https://github.com/servo/servo
synced 2026-05-09 16:42:16 +02:00
`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>