Rename cascade_with_replacements to replace_rules.

That's because the function does not invoke cascade() at all.
This commit is contained in:
Hiroyuki Ikezoe 2017-04-11 16:31:58 +09:00
parent ca3cd64d6b
commit c316594bd3
2 changed files with 6 additions and 6 deletions

View file

@ -711,7 +711,7 @@ fn compute_style<E, D>(_traversal: &D,
}
CascadeWithReplacements(hint) => {
let _rule_nodes_changed =
element.cascade_with_replacements(hint, context, &mut data);
element.replace_rules(hint, context, &mut data);
element.cascade_primary_and_pseudos(context, &mut data);
}
CascadeOnly => {