Auto merge of #19199 - emilio:no-unused-unsafe, r=nox

style: Stop allowing unused_unsafe.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19199)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-11-15 08:22:00 -06:00 committed by GitHub
commit 40adc3fd88
13 changed files with 2634 additions and 2660 deletions

View file

@ -471,11 +471,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);
}
}
}