mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Move FontTag to the generic module
This commit is contained in:
parent
b9862f7b28
commit
aea66a9fb6
5 changed files with 49 additions and 53 deletions
|
@ -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| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue