From 1f28a486e3c713e61f69d204a74efe3465c7a1e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 27 Mar 2019 14:35:04 +0100 Subject: [PATCH] gfx: Fix unit tests. --- components/gfx/tests/font_context.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/gfx/tests/font_context.rs b/components/gfx/tests/font_context.rs index 2f3f12b97b9..3a3f73671ac 100644 --- a/components/gfx/tests/font_context.rs +++ b/components/gfx/tests/font_context.rs @@ -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]