Convert StylePrefs to StaticPrefs.

This commit is contained in:
Nicholas Nethercote 2018-04-03 11:41:03 +10:00
parent a208d4246c
commit 8705fb3783
9 changed files with 46 additions and 46 deletions

View file

@ -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")]