mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +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();
|
.collect();
|
||||||
|
|
||||||
FontFamily(FontFamilyList::new(names.into_boxed_slice()))
|
FontFamily {
|
||||||
|
families: FontFamilyList::new(names.into_boxed_slice()),
|
||||||
|
is_system_font: false,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue