Skip to content

Commit

Permalink
remove assert on markNeedsCompositingBitsUpdate (flutter#103227)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahwilliams authored May 7, 2022
1 parent 9c40b74 commit b05b44e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/flutter/lib/src/rendering/object.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2295,12 +2295,6 @@ abstract class RenderObject extends AbstractNode with DiagnosticableTreeMixin im
return;
}
}
assert(() {
final AbstractNode? parent = this.parent;
if (parent is RenderObject)
return parent._needsCompositing;
return true;
}());
// parent is fine (or there isn't one), but we are dirty
if (owner != null)
owner!._nodesNeedingCompositingBitsUpdate.add(this);
Expand Down

0 comments on commit b05b44e

Please sign in to comment.