mirror of
https://github.com/servo/servo.git
synced 2025-08-24 22:58:21 +01:00
Auto merge of #18904 - emilio:invalidator-less-dependencies, r=heycam,jdm,nox
style: Stop threading the ElementData around the invalidator. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18904) <!-- Reviewable:end -->
This commit is contained in:
commit
c1e0889971
11 changed files with 219 additions and 306 deletions
|
@ -3623,7 +3623,7 @@ pub extern "C" fn Servo_AssertTreeIsClean(root: RawGeckoElementBorrowed) {
|
|||
debug_assert!(!el.has_dirty_descendants() && !el.has_animation_only_dirty_descendants(),
|
||||
"{:?} has still dirty bit {:?} or animation-only dirty bit {:?}",
|
||||
el, el.has_dirty_descendants(), el.has_animation_only_dirty_descendants());
|
||||
for child in el.as_node().traversal_children() {
|
||||
for child in el.traversal_children() {
|
||||
if let Some(child) = child.as_element() {
|
||||
assert_subtree_is_clean(child);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue