aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/servo/selector_parser.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2017-12-09 16:01:39 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2017-12-09 16:03:09 +0100
commitc93b844125f108e2912fcd58421df8fb5dafcd2d (patch)
tree6b4b346a0607fbf3744cce57d9377f4b99b125c1 /components/style/servo/selector_parser.rs
parent051a715721b026c9ec2d256adfe432c404fd6788 (diff)
downloadservo-c93b844125f108e2912fcd58421df8fb5dafcd2d.tar.gz
servo-c93b844125f108e2912fcd58421df8fb5dafcd2d.zip
style: Remove unused SelectorImpl::pseudo_element_cascade_type.
Diffstat (limited to 'components/style/servo/selector_parser.rs')
-rw-r--r--components/style/servo/selector_parser.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/components/style/servo/selector_parser.rs b/components/style/servo/selector_parser.rs
index fa76654aa4a..a06de17734e 100644
--- a/components/style/servo/selector_parser.rs
+++ b/components/style/servo/selector_parser.rs
@@ -547,12 +547,6 @@ impl<'a, 'i> ::selectors::Parser<'i> for SelectorParser<'a> {
}
impl SelectorImpl {
- /// Returns the pseudo-element cascade type of the given `pseudo`.
- #[inline]
- pub fn pseudo_element_cascade_type(pseudo: &PseudoElement) -> PseudoElementCascadeType {
- pseudo.cascade_type()
- }
-
/// A helper to traverse each eagerly cascaded pseudo-element, executing
/// `fun` on it.
#[inline]