diff options
Diffstat (limited to 'components/style/context.rs')
-rw-r--r-- | components/style/context.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/style/context.rs b/components/style/context.rs index 38af94f7584..a59058dea3d 100644 --- a/components/style/context.rs +++ b/components/style/context.rs @@ -488,11 +488,11 @@ impl<E: TElement> SequentialTask<E> { Unused(_) => unreachable!(), #[cfg(feature = "gecko")] UpdateAnimations { el, before_change_style, tasks } => { - unsafe { el.update_animations(before_change_style, tasks) }; + el.update_animations(before_change_style, tasks); } #[cfg(feature = "gecko")] PostAnimation { el, tasks } => { - unsafe { el.process_post_animation(tasks) }; + el.process_post_animation(tasks); } } } |