mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
style: Rename get_visited_style to just visited_style.
This commit is contained in:
parent
d2dab24748
commit
ab8dcf0a18
5 changed files with 14 additions and 14 deletions
|
@ -206,7 +206,7 @@ impl CascadeInputs {
|
|||
pub fn new_from_style(style: &ComputedValues) -> Self {
|
||||
CascadeInputs {
|
||||
rules: style.rules.clone(),
|
||||
visited_rules: style.get_visited_style().and_then(|v| v.rules.clone()),
|
||||
visited_rules: style.visited_style().and_then(|v| v.rules.clone()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue