Index: sky/tests/resources/display_list.dart |
diff --git a/sky/tests/resources/display_list.dart b/sky/tests/resources/display_list.dart |
index 8879818290c78baf97fdd0e4372fefeedc55579f..7de956b696d2689c487ad090ccf4dbfbe4330180 100644 |
--- a/sky/tests/resources/display_list.dart |
+++ b/sky/tests/resources/display_list.dart |
@@ -160,10 +160,7 @@ class TestRenderView extends RenderView { |
} |
class TestApp extends App { |
- TestApp({ |
- this.builder, |
- RenderView renderViewOverride |
- }) : super(renderViewOverride: renderViewOverride); |
+ TestApp({ this.builder }); |
Function builder; |
@@ -176,7 +173,7 @@ class WidgetTester { |
TestRenderView renderView = new TestRenderView(); |
Future test(Function builder) { |
- new TestApp(renderViewOverride: renderView, builder: builder); |
+ runApp(new TestApp(builder: builder), renderViewOverride: renderView); |
return new Future.microtask(renderView.checkFrame); |
} |