Unverified Commit b05b44e8 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

remove assert on markNeedsCompositingBitsUpdate (#103227)

parent 9c40b74d
...@@ -2295,12 +2295,6 @@ abstract class RenderObject extends AbstractNode with DiagnosticableTreeMixin im ...@@ -2295,12 +2295,6 @@ abstract class RenderObject extends AbstractNode with DiagnosticableTreeMixin im
return; 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 // parent is fine (or there isn't one), but we are dirty
if (owner != null) if (owner != null)
owner!._nodesNeedingCompositingBitsUpdate.add(this); owner!._nodesNeedingCompositingBitsUpdate.add(this);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment