mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Remove unused ComputedValues::has_visited_style.
This commit is contained in:
parent
ab8dcf0a18
commit
9305fadc9f
1 changed files with 0 additions and 5 deletions
|
@ -2095,11 +2095,6 @@ impl ComputedValues {
|
|||
self.flags.contains(IS_STYLE_IF_VISITED)
|
||||
}
|
||||
|
||||
/// Whether there is a visited style.
|
||||
pub fn has_visited_style(&self) -> bool {
|
||||
self.visited_style.is_some()
|
||||
}
|
||||
|
||||
/// Gets a reference to the rule node. Panic if no rule node exists.
|
||||
pub fn rules(&self) -> &StrongRuleNode {
|
||||
self.rules.as_ref().unwrap()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue