diff options
Diffstat (limited to 'components/layout/traversal.rs')
-rw-r--r-- | components/layout/traversal.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/layout/traversal.rs b/components/layout/traversal.rs index a206bf75b4a..72c1ade2062 100644 --- a/components/layout/traversal.rs +++ b/components/layout/traversal.rs @@ -28,7 +28,7 @@ use std::mem; /// Every time we do another layout, the old bloom filters are invalid. This is /// detected by ticking a generation number every layout. -type Generation = uint; +type Generation = u32; /// A pair of the bloom filter used for css selector matching, and the node to /// which it applies. This is used to efficiently do `Descendant` selector @@ -180,7 +180,8 @@ impl<'a> PreorderDomTraversal for RecalcStyleForNode<'a> { node.cascade_node(self.layout_context.shared, parent_opt, &applicable_declarations, - self.layout_context.applicable_declarations_cache()); + self.layout_context.applicable_declarations_cache(), + &self.layout_context.shared.new_animations_sender); } // Add ourselves to the LRU cache. |