Enabled use of FontFamily enum type and replaced plain string parameters with enum

This commit is contained in:
David Raifaizen 2015-11-29 16:05:43 -05:00
parent 2a3a7a73b5
commit d942bfb474
5 changed files with 122 additions and 89 deletions

View file

@ -325,7 +325,7 @@ impl LayoutElementHelpers for LayoutJS<Element> {
PropertyDeclaration::FontFamily(
DeclaredValue::Value(
font_family::computed_value::T(vec![
font_family::computed_value::FontFamily::FamilyName(
font_family::computed_value::FontFamily::from_atom(
font_family)])))));
}