mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Process normal traversal for throttled animation flush as well.
MozReview-Commit-ID: BirD8BDMifp
This commit is contained in:
parent
faad7ffb45
commit
c0de5ebd21
2 changed files with 5 additions and 7 deletions
|
@ -278,13 +278,6 @@ pub extern "C" fn Servo_TraverseSubtree(root: RawGeckoElementBorrowed,
|
|||
}
|
||||
}
|
||||
|
||||
if traversal_flags.for_animation_only() {
|
||||
debug!("Servo_TraverseSubtree complete (animation-only, aodd={})",
|
||||
element.has_animation_only_dirty_descendants());
|
||||
return element.has_animation_only_dirty_descendants() ||
|
||||
element.borrow_data().unwrap().restyle.is_restyle();
|
||||
}
|
||||
|
||||
traverse_subtree(element,
|
||||
raw_data,
|
||||
traversal_flags,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue