Remove redundant .clone()s

This commit is contained in:
Shotaro Yamada 2018-12-11 10:43:51 +09:00
parent eeaca0b26d
commit c44a2febe6
19 changed files with 31 additions and 35 deletions

View file

@ -1257,7 +1257,7 @@ impl BlockFlow {
self.fragment.inline_start_offset(),
Au(0),
));
self.base.floats = floats.clone();
self.base.floats = floats;
self.adjust_fragments_for_collapsed_margins_if_root(layout_context.shared_context());
} else {
// We don't need to reflow, but we still need to perform in-order traversals if