mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
style: Use an enum class for LookAndFeel::FontID.
Differential Revision: https://phabricator.services.mozilla.com/D76696
This commit is contained in:
parent
7b5953da95
commit
33b548ae64
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ ${helpers.predefined_type(
|
|||
let id = match *self {
|
||||
% for font in system_fonts:
|
||||
SystemFont::${to_camel_case(font)} => {
|
||||
LookAndFeel_FontID::eFont_${to_camel_case(font.replace("-moz-", ""))}
|
||||
LookAndFeel_FontID::${to_camel_case(font.replace("-moz-", ""))}
|
||||
}
|
||||
% endfor
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue