mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Convert StylePrefs to StaticPrefs.
This commit is contained in:
parent
a208d4246c
commit
8705fb3783
9 changed files with 46 additions and 46 deletions
|
@ -355,7 +355,7 @@ impl<S> OriginComponent<S> {
|
|||
#[inline]
|
||||
fn allow_frames_timing() -> bool {
|
||||
use gecko_bindings::structs::mozilla;
|
||||
unsafe { mozilla::StylePrefs_sFramesTimingFunctionEnabled }
|
||||
unsafe { mozilla::StaticPrefs_sVarCache_layout_css_frames_timing_enabled }
|
||||
}
|
||||
|
||||
#[cfg(feature = "servo")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue