aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/context.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2017-11-13 22:37:45 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2017-11-15 13:26:24 +0100
commit69ddb9501ba620ce6b34377eb379e4bb576bda3c (patch)
treecb9cf77641de753fb490b7af97205525075ac155 /components/style/context.rs
parent2efbf2230a61a2fda1ecc4cd12618177d4ca50cd (diff)
downloadservo-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.rs4
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);
}
}
}