aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_wrapper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/layout_wrapper.rs')
-rw-r--r--components/script/layout_wrapper.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/components/script/layout_wrapper.rs b/components/script/layout_wrapper.rs
index 12d830e5fad..3ddb1d2b5c9 100644
--- a/components/script/layout_wrapper.rs
+++ b/components/script/layout_wrapper.rs
@@ -461,16 +461,16 @@ impl<'le> TElement for ServoLayoutElement<'le> {
self.element.has_selector_flags(flags)
}
- fn has_animations(&self, _pseudo: Option<&PseudoElement>) -> bool {
- panic!("this should be only called on gecko");
+ fn has_animations(&self) -> bool {
+ unreachable!("this should be only called on gecko");
}
- fn has_css_animations(&self, _pseudo: Option<&PseudoElement>) -> bool {
- panic!("this should be only called on gecko");
+ fn has_css_animations(&self) -> bool {
+ unreachable!("this should be only called on gecko");
}
- fn has_css_transitions(&self, _pseudo: Option<&PseudoElement>) -> bool {
- panic!("this should be only called on gecko");
+ fn has_css_transitions(&self) -> bool {
+ unreachable!("this should be only called on gecko");
}
}