mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Stop threading the ElementData around the invalidator.
This commit is contained in:
parent
40d9cd99b5
commit
7c2265360f
3 changed files with 46 additions and 106 deletions
|
@ -259,11 +259,14 @@ impl ElementData {
|
|||
return InvalidationResult::empty();
|
||||
}
|
||||
|
||||
let mut processor =
|
||||
StateAndAttrInvalidationProcessor::new(shared_context);
|
||||
let mut processor = StateAndAttrInvalidationProcessor::new(
|
||||
shared_context,
|
||||
element,
|
||||
self,
|
||||
);
|
||||
|
||||
let invalidator = TreeStyleInvalidator::new(
|
||||
element,
|
||||
Some(self),
|
||||
shared_context.quirks_mode(),
|
||||
stack_limit_checker,
|
||||
nth_index_cache,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue