style: Remove StyleFontSize enum from nsStyleConsts.h.

Differential Revision: https://phabricator.services.mozilla.com/D77511
This commit is contained in:
Philipp Zech 2020-06-17 11:08:44 +00:00 committed by Emilio Cobos Álvarez
parent 60f4fedcbf
commit 5af0d7ca7c
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
6 changed files with 56 additions and 79 deletions

View file

@ -362,6 +362,7 @@ ${helpers.predefined_type(
use crate::gecko_bindings::structs::{LookAndFeel_FontID, nsFont};
use std::mem;
use crate::values::computed::Percentage;
use crate::values::specified::font::KeywordInfo;
use crate::values::computed::font::{FontFamily, FontSize, FontStretch, FontStyle, FontFamilyList};
use crate::values::generics::NonNegative;
@ -397,7 +398,7 @@ ${helpers.predefined_type(
},
font_size: FontSize {
size: NonNegative(cx.maybe_zoom_text(Au(system.size).into())),
keyword_info: None
keyword_info: KeywordInfo::none()
},
font_weight,
font_stretch,