Pass Rect<Au> by value and not by reference

Style change in display_list/builder.rs to reduce
the number of & and * found in the code.
Rect<Au> are basically 4 integers so there is no
need to pass by reference.
This commit is contained in:
Pyfisch 2018-05-05 22:16:23 +02:00
parent 596b53d5f8
commit 4b3ccc7c8c
4 changed files with 120 additions and 123 deletions

View file

@ -1617,7 +1617,7 @@ impl Flow for InlineFlow {
.relative_containing_block_mode,
CoordinateSystem::Parent);
let stacking_relative_content_box =
fragment.stacking_relative_content_box(&stacking_relative_border_box);
fragment.stacking_relative_content_box(stacking_relative_border_box);
let is_positioned = fragment.is_positioned();
match fragment.specific {