Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-05-22 08:30:46 +02:00
parent 67f9b97735
commit 4f0e0c888c
4 changed files with 47 additions and 5 deletions

View file

@ -120,7 +120,9 @@ fn font_family(names: Vec<&str>) -> FontFamily {
.collect();
FontFamily {
families: FontFamilyList::new(names.into_boxed_slice()),
families: FontFamilyList {
list: names.into_boxed_slice(),
},
is_system_font: false,
}
}