Check Gecko pref before parsing frames() timing function

This commit is contained in:
Brian Birtles 2017-07-12 08:49:10 +09:00
parent 6320702002
commit 8daeeb159a
2 changed files with 20 additions and 2 deletions

View file

@ -803,6 +803,9 @@ extern "C" {
ComputedTimingFunction_BeforeFlag)
-> f64;
}
extern "C" {
pub fn Gecko_IsFramesTimingEnabled() -> bool;
}
extern "C" {
pub fn Gecko_AnimationGetBaseStyle(aBaseStyles:
*mut ::std::os::raw::c_void,