Move FontTag to the generic module

This commit is contained in:
Anthony Ramine 2018-02-15 10:00:51 +01:00
parent b9862f7b28
commit aea66a9fb6
5 changed files with 49 additions and 53 deletions

View file

@ -1452,8 +1452,7 @@ impl Clone for ${style_struct.gecko_struct_name} {
}
pub fn clone_${ident}(&self) -> longhands::${ident}::computed_value::T {
use values::generics::font::{FontSettings, ${tag_type}};
use values::specified::font::FontTag;
use values::generics::font::{FontSettings, FontTag, ${tag_type}};
FontSettings(
self.gecko.mFont.${gecko_ffi_name}.iter().map(|gecko_font_setting| {