Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(810)

Unified Diff: sky/sdk/lib/framework/layout2.dart

Issue 1157433006: Remove bogus assert in layout() (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/layout2.dart
diff --git a/sky/sdk/lib/framework/layout2.dart b/sky/sdk/lib/framework/layout2.dart
index ac060ab2dfea09b2a2507263ab2cae14eb10a359..f8b9ecff652daae63b81ebf5aede87d5ef8c67b7 100644
--- a/sky/sdk/lib/framework/layout2.dart
+++ b/sky/sdk/lib/framework/layout2.dart
@@ -125,7 +125,7 @@ abstract class RenderNode extends AbstractNode {
print(stack);
return;
}
- assert(!_needsLayout); // check that the relayout() method marked us "not dirty"
+ _needsLayout = false;
}
void layout(dynamic constraints, { bool parentUsesSize: false }) {
RenderNode relayoutSubtreeRoot;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698