Skip to content

Commit b05b44e

Browse files
author
Jonah Williams
authored
remove assert on markNeedsCompositingBitsUpdate (#103227)
1 parent 9c40b74 commit b05b44e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/flutter/lib/src/rendering/object.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2295,12 +2295,6 @@ abstract class RenderObject extends AbstractNode with DiagnosticableTreeMixin im
22952295
return;
22962296
}
22972297
}
2298-
assert(() {
2299-
final AbstractNode? parent = this.parent;
2300-
if (parent is RenderObject)
2301-
return parent._needsCompositing;
2302-
return true;
2303-
}());
23042298
// parent is fine (or there isn't one), but we are dirty
23052299
if (owner != null)
23062300
owner!._nodesNeedingCompositingBitsUpdate.add(this);

0 commit comments

Comments
 (0)