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

Unified Diff: sky/sdk/lib/framework/rendering/stack.dart

Issue 1158263005: Rename "BorderSide.None" to "BorderSide.none", since it's a constant, and change the sky.Size.infin… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « sky/sdk/lib/framework/rendering/box.dart ('k') | sky/tests/raw/render_flex.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/rendering/stack.dart
diff --git a/sky/sdk/lib/framework/rendering/stack.dart b/sky/sdk/lib/framework/rendering/stack.dart
index 44e1a7f59ffeae58fc41514d29bfaf27aba68490..80f7bec7b83ebebcfd0e7ea306368e7ba9b31c8d 100644
--- a/sky/sdk/lib/framework/rendering/stack.dart
+++ b/sky/sdk/lib/framework/rendering/stack.dart
@@ -23,11 +23,11 @@ class RenderStack extends RenderBox with ContainerRenderObjectMixin<RenderBox, S
}
sky.Size getIntrinsicDimensions(BoxConstraints constraints) {
- return constraints.constrain(new sky.Size.infinite());
+ return constraints.constrain(sky.Size.infinite);
}
void performLayout() {
- size = constraints.constrain(new sky.Size.infinite());
+ size = constraints.constrain(sky.Size.infinite);
assert(size.width < double.INFINITY);
assert(size.height < double.INFINITY);
BoxConstraints innerConstraints = new BoxConstraints.loose(size);
« no previous file with comments | « sky/sdk/lib/framework/rendering/box.dart ('k') | sky/tests/raw/render_flex.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698