Skip to content

Commit

Permalink
remove over-optimistic assert (#9045)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahwilliams committed May 22, 2019
1 parent 0308a1c commit 6299af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stub_ui/lib/src/ui/compositing.dart
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ abstract class PersistedSurface implements EngineLayer {
/// Creates a persisted surface.
///
/// [paintedBy] points to the object that painted this surface.
PersistedSurface(this.paintedBy) : assert(paintedBy != null);
PersistedSurface(this.paintedBy);

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

0 comments on commit 6299af3

Please sign in to comment.