Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 6299af3

Browse files
author
Jonah Williams
authored
remove over-optimistic assert (#9045)
1 parent 0308a1c commit 6299af3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/stub_ui/lib/src/ui/compositing.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ abstract class PersistedSurface implements EngineLayer {
918918
/// Creates a persisted surface.
919919
///
920920
/// [paintedBy] points to the object that painted this surface.
921-
PersistedSurface(this.paintedBy) : assert(paintedBy != null);
921+
PersistedSurface(this.paintedBy);
922922

923923
/// The strategy that should be used when attempting to reuse the resources
924924
/// owned by this surface.

0 commit comments

Comments
 (0)