mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Convert StylePrefs to StaticPrefs.
This commit is contained in:
parent
a208d4246c
commit
8705fb3783
9 changed files with 46 additions and 46 deletions
|
@ -224,13 +224,13 @@ macro_rules! is_descriptor_enabled {
|
|||
("font-display") => {
|
||||
unsafe {
|
||||
use gecko_bindings::structs::mozilla;
|
||||
mozilla::StylePrefs_sFontDisplayEnabled
|
||||
mozilla::StaticPrefs_sVarCache_layout_css_font_display_enabled
|
||||
}
|
||||
};
|
||||
("font-variation-settings") => {
|
||||
unsafe {
|
||||
use gecko_bindings::structs::mozilla;
|
||||
mozilla::StylePrefs_sFontVariationsEnabled
|
||||
mozilla::StaticPrefs_sVarCache_layout_css_font_variations_enabled
|
||||
}
|
||||
};
|
||||
($name: tt) => { true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue