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

Unified Diff: sky/tests/resources/display_list.dart

Issue 1184823006: Settings menu item in stock2 doesn't work (Closed) Base URL: git@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
« sky/sdk/lib/widgets/widget.dart ('K') | « sky/tests/framework/stocks.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« sky/sdk/lib/widgets/widget.dart ('K') | « sky/tests/framework/stocks.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698