style: Require an nth-index cache for invalidation.

This commit is contained in:
Emilio Cobos Álvarez 2017-11-29 21:21:14 +01:00
parent dbe3136a05
commit 02ad6d3d90
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 15 additions and 15 deletions

View file

@ -239,7 +239,7 @@ impl ElementData {
element: E,
shared_context: &SharedStyleContext,
stack_limit_checker: Option<&StackLimitChecker>,
nth_index_cache: Option<&mut NthIndexCache>,
nth_index_cache: &mut NthIndexCache,
) -> InvalidationResult {
// In animation-only restyle we shouldn't touch snapshot at all.
if shared_context.traversal_flags.for_animation_only() {