Index: runtime/observatory/lib/src/app/page.dart |
diff --git a/runtime/observatory/lib/src/app/page.dart b/runtime/observatory/lib/src/app/page.dart |
index 980fcfa464d8bc242737913b122ffb386fec536c..6387fe153332085cee1b3b13e776bf77ffd478d7 100644 |
--- a/runtime/observatory/lib/src/app/page.dart |
+++ b/runtime/observatory/lib/src/app/page.dart |
@@ -124,9 +124,9 @@ class FlagsPage extends SimplePage { |
@override |
onInstall() { |
element = new FlagListElement(app.vm, |
- app.vm.changes.map((_) => new VMUpdateEventMock(vm: app.vm)), |
- new FlagsRepository(), |
- app.notifications); |
+ app.events, |
+ new FlagsRepository(app.vm), |
+ app.notifications); |
} |
void _visit(Uri uri) { |
@@ -362,8 +362,7 @@ class VMConnectPage extends Page { |
if (element == null) { |
element = new VMConnectElement( |
ObservatoryApplication.app.targets, |
- new CrashDumpRepositoryMock( |
- load: ObservatoryApplication.app.loadCrashDump), |
+ ObservatoryApplication.app.loadCrashDump, |
ObservatoryApplication.app.notifications, |
queue: ObservatoryApplication.app.queue); |
} |