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 eb35b84097959bbf58c1fe2c1b9dc7a17a40fa60..8500d32e877bb828863aa2865cbaad3bead4aab1 100644 |
--- a/runtime/observatory/lib/src/app/page.dart |
+++ b/runtime/observatory/lib/src/app/page.dart |
@@ -35,7 +35,6 @@ final _subtypeTestCacheRepository = new SubtypeTestCacheRepository(); |
final _topRetainingInstancesRepository = new TopRetainingInstancesRepository(); |
final _typeArgumentsRepository = new TypeArgumentsRepository(); |
final _unlinkedCallRepository = new UnlinkedCallRepository(); |
-final _vmrepository = new VMRepository(); |
class IsolateNotFound implements Exception { |
String isolateId; |
@@ -171,7 +170,7 @@ class VMPage extends MatchingPage { |
} |
app.vm.reload().then((VM vm) { |
container.children = [ |
- new VMViewElement(vm, _vmrepository, app.events, app.notifications, |
+ new VMViewElement(vm, app.events, app.notifications, |
new IsolateRepository(app.vm), _scriptRepository, |
queue: app.queue) |
]; |
@@ -709,8 +708,8 @@ class MemoryDashboardPage extends MatchingPage { |
// Preload all isolates to avoid sorting problems. |
await Future.wait(vm.isolates.map((i) => i.load())); |
container.children = [ |
- new MemoryDashboardElement(vm, _vmrepository, new IsolateRepository(vm), |
- editor, _allocationProfileRepository, app.events, app.notifications, |
+ new MemoryDashboardElement(vm, new IsolateRepository(vm), editor, |
+ _allocationProfileRepository, app.events, app.notifications, |
queue: app.queue) |
]; |
}).catchError((e, stack) { |