| 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 8500d32e877bb828863aa2865cbaad3bead4aab1..eb35b84097959bbf58c1fe2c1b9dc7a17a40fa60 100644
|
| --- a/runtime/observatory/lib/src/app/page.dart
|
| +++ b/runtime/observatory/lib/src/app/page.dart
|
| @@ -35,6 +35,7 @@ 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;
|
| @@ -170,7 +171,7 @@ class VMPage extends MatchingPage {
|
| }
|
| app.vm.reload().then((VM vm) {
|
| container.children = [
|
| - new VMViewElement(vm, app.events, app.notifications,
|
| + new VMViewElement(vm, _vmrepository, app.events, app.notifications,
|
| new IsolateRepository(app.vm), _scriptRepository,
|
| queue: app.queue)
|
| ];
|
| @@ -708,8 +709,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, new IsolateRepository(vm), editor,
|
| - _allocationProfileRepository, app.events, app.notifications,
|
| + new MemoryDashboardElement(vm, _vmrepository, new IsolateRepository(vm),
|
| + editor, _allocationProfileRepository, app.events, app.notifications,
|
| queue: app.queue)
|
| ];
|
| }).catchError((e, stack) {
|
|
|