mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Require an nth-index cache for invalidation.
This commit is contained in:
parent
dbe3136a05
commit
02ad6d3d90
4 changed files with 15 additions and 15 deletions
|
@ -71,12 +71,12 @@ impl<'a, 'b: 'a, E: TElement> StateAndAttrInvalidationProcessor<'a, 'b, E> {
|
|||
cut_off_inheritance: bool,
|
||||
element: E,
|
||||
data: &'a mut ElementData,
|
||||
nth_index_cache: Option<&'a mut NthIndexCache>,
|
||||
nth_index_cache: &'a mut NthIndexCache,
|
||||
) -> Self {
|
||||
let matching_context = MatchingContext::new_for_visited(
|
||||
MatchingMode::Normal,
|
||||
None,
|
||||
nth_index_cache,
|
||||
Some(nth_index_cache),
|
||||
VisitedHandlingMode::AllLinksVisitedAndUnvisited,
|
||||
shared_context.quirks_mode(),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue