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

Unified Diff: sky/tests/raw/render_box.dart

Issue 1156013003: Introduce RenderNodeWithChildMixin (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 | « sky/sdk/lib/framework/layout2.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/raw/render_box.dart
diff --git a/sky/tests/raw/render_box.dart b/sky/tests/raw/render_box.dart
index 76ac54c3b5838eefef01d6939066c3865919ecc9..c3d3412767ce15a14f62a4fad95ed38b3685caae 100644
--- a/sky/tests/raw/render_box.dart
+++ b/sky/tests/raw/render_box.dart
@@ -32,7 +32,7 @@ void main() {
test("should size to render view", () {
RenderSizedBox root = new RenderSizedBox();
- RenderView renderView = new RenderView(root: root);
+ RenderView renderView = new RenderView(child: root);
renderView.layout(newWidth: sky.view.width, newHeight: sky.view.height);
expect(root.width, equals(sky.view.width));
expect(root.height, equals(sky.view.height));
« no previous file with comments | « sky/sdk/lib/framework/layout2.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698