style: Rename get_visited_style to just visited_style.

This commit is contained in:
Emilio Cobos Álvarez 2017-10-01 13:23:06 +02:00
parent d2dab24748
commit ab8dcf0a18
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
5 changed files with 14 additions and 14 deletions

View file

@ -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()),
}
}
}