style: Remove unneeded combinator check in selector-matching.

The combinator doesn't change during the loop, no need to check it.

Bug: 1471063
Reviewed-by: xidorn
MozReview-Commit-ID: KIAt0WiEOtI
This commit is contained in:
Emilio Cobos Álvarez 2018-06-26 00:25:58 +02:00
parent 2274f392d8
commit aca724ec79
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -576,7 +576,7 @@ where
_ => {},
}
if element.is_link() || combinator.is_sibling() {
if element.is_link() {
visited_handling = VisitedHandlingMode::AllLinksUnvisited;
}