mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Pass a straight Vec to DisplayList::new().
There is no reason to have a runtime check here.
This commit is contained in:
parent
62f7e8fe4b
commit
aefa941626
2 changed files with 2 additions and 8 deletions
|
@ -918,8 +918,7 @@ impl LayoutThread {
|
|||
root_background_color));
|
||||
|
||||
rw_data.display_list =
|
||||
Some(Arc::new(DisplayList::new(root_stacking_context,
|
||||
&mut Some(display_list_entries))))
|
||||
Some(Arc::new(DisplayList::new(root_stacking_context, display_list_entries)))
|
||||
}
|
||||
|
||||
if data.goal == ReflowGoal::ForDisplay {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue