Skip to content
Permalink
Browse files

Fix gfx unit tests.

  • Loading branch information...
emilio committed Apr 12, 2019
1 parent a1d224b commit 63778555268b8b4904dcfc24a0a0c91dcb395074
Showing with 2 additions and 2 deletions.
  1. +2 −2 components/gfx/tests/font_context.rs
@@ -20,7 +20,7 @@ use std::rc::Rc;
use style::properties::longhands::font_variant_caps::computed_value::T as FontVariantCaps;
use style::properties::style_structs::Font as FontStyleStruct;
use style::values::computed::font::{
FamilyName, FamilyNameSyntax, FontFamily, FontFamilyList, FontSize,
FamilyName, FontFamily, FontFamilyList, FontFamilyNameSyntax, FontSize,
};
use style::values::computed::font::{FontStretch, FontWeight, SingleFontFamily};
use style::values::generics::font::FontStyle;
@@ -114,7 +114,7 @@ fn font_family(names: Vec<&str>) -> FontFamily {
.map(|name| {
SingleFontFamily::FamilyName(FamilyName {
name: Atom::from(name),
syntax: FamilyNameSyntax::Quoted,
syntax: FontFamilyNameSyntax::Quoted,
})
})
.collect();

0 comments on commit 6377855

Please sign in to comment.
You can’t perform that action at this time.