mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
gfx: Fix unit tests.
This commit is contained in:
parent
6283837613
commit
1f28a486e3
1 changed files with 4 additions and 1 deletions
|
@ -119,7 +119,10 @@ fn font_family(names: Vec<&str>) -> FontFamily {
|
|||
})
|
||||
.collect();
|
||||
|
||||
FontFamily(FontFamilyList::new(names.into_boxed_slice()))
|
||||
FontFamily {
|
||||
families: FontFamilyList::new(names.into_boxed_slice()),
|
||||
is_system_font: false,
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue