mirror of
https://github.com/servo/servo.git
synced 2025-08-01 11:40:30 +01:00
style: Remove unused SelectorImpl::pseudo_class_state_flag.
This commit is contained in:
parent
2f21070701
commit
c22dba0b87
2 changed files with 0 additions and 13 deletions
|
@ -433,13 +433,6 @@ impl SelectorImpl {
|
|||
fun(pseudo.clone())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// Returns the relevant state flag for a given non-tree-structural
|
||||
/// pseudo-class.
|
||||
pub fn pseudo_class_state_flag(pc: &NonTSPseudoClass) -> ElementState {
|
||||
pc.state_flag()
|
||||
}
|
||||
}
|
||||
|
||||
fn utf16_to_ascii_lowercase(unit: u16) -> u16 {
|
||||
|
|
|
@ -561,12 +561,6 @@ impl SelectorImpl {
|
|||
fun(PseudoElement::from_eager_index(i));
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns the pseudo-class state flag for selector matching.
|
||||
#[inline]
|
||||
pub fn pseudo_class_state_flag(pc: &NonTSPseudoClass) -> ElementState {
|
||||
pc.state_flag()
|
||||
}
|
||||
}
|
||||
|
||||
/// A map from elements to snapshots for the Servo style back-end.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue