Skip to content

Commit

Permalink
[flutter_releases] remove assert on markNeedsCompositingBitsUpdate fl…
Browse files Browse the repository at this point in the history
  • Loading branch information
Casey Hillers authored and muditatandon committed May 9, 2022
1 parent c574c8b commit fc69de2
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 fc69de2

Please sign in to comment.