diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-04-22 23:12:01 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-04-27 14:26:48 +0200 |
commit | be0139ff3ccaeff621788043b721660ab4bdf36b (patch) | |
tree | c69dfdedb8499fc0ca4615f75e1d03ee988372da /components/script/layout_wrapper.rs | |
parent | 85ad9611043cb82c559f4f11807fa12b54da14a1 (diff) | |
download | servo-be0139ff3ccaeff621788043b721660ab4bdf36b.tar.gz servo-be0139ff3ccaeff621788043b721660ab4bdf36b.zip |
Bug 1331047: Implement the new traversal semantics for stylo. r=bholley,hiro
MozReview-Commit-ID: 4BXx9JpGZKX
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
Diffstat (limited to 'components/script/layout_wrapper.rs')
-rw-r--r-- | components/script/layout_wrapper.rs | 12 |
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"); } } |