未验证 提交 6299af30 编写于 作者: J Jonah Williams 提交者: GitHub

remove over-optimistic assert (#9045)

上级 0308a1c4
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册