diff options
Diffstat (limited to 'components/style/dom.rs')
-rw-r--r-- | components/style/dom.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/style/dom.rs b/components/style/dom.rs index 795eb51c247..769cedfda28 100644 --- a/components/style/dom.rs +++ b/components/style/dom.rs @@ -567,8 +567,7 @@ pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone + Some(d) => d, None => return false, }; - return data.get_restyle() - .map_or(false, |r| r.hint.has_animation_hint()); + return data.restyle.hint.has_animation_hint() } /// Gets declarations from XBL bindings from the element. Only gecko element could have this. |