diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-11-13 22:37:45 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-11-15 13:26:24 +0100 |
commit | 69ddb9501ba620ce6b34377eb379e4bb576bda3c (patch) | |
tree | cb9cf77641de753fb490b7af97205525075ac155 /components/style/context.rs | |
parent | 2efbf2230a61a2fda1ecc4cd12618177d4ca50cd (diff) | |
download | servo-69ddb9501ba620ce6b34377eb379e4bb576bda3c.tar.gz servo-69ddb9501ba620ce6b34377eb379e4bb576bda3c.zip |
style: Remove some uses of unused unsafe.
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); } } } |