style: Don't stop looking at the sharing cache for various reasons.

All the information that made those failures expensive is now lazily computed
and cached, or eagerly computed anyway, so seems not worth to stop iteration.
This commit is contained in:
Emilio Cobos Álvarez 2017-07-13 16:21:50 +02:00
parent 9515abbca3
commit 8667cea4ca
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -595,16 +595,6 @@ impl<E: TElement> StyleSharingCandidateCache<E> {
}
Err(miss) => {
debug!("Cache miss: {:?}", miss);
// Cache miss, let's see what kind of failure to decide
// whether we keep trying or not.
match miss {
// Too expensive failure, give up, we don't want another
// one of these.
CacheMiss::PresHints |
CacheMiss::Revalidation => break,
_ => {}
}
}
}
}