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 1e04b6c75a1cc15b516bcb5a16130d870ac12a2e..a8cbe2e84a60e862350daf1a51f4bbb3b0c80970 100644 |
--- a/runtime/observatory/lib/src/app/page.dart |
+++ b/runtime/observatory/lib/src/app/page.dart |
@@ -16,7 +16,6 @@ final _heapSnapshotRepository = new HeapSnapshotRepository(); |
final _icdataRepository = new ICDataRepository(); |
final _inboundReferencesRepository = new InboundReferencesRepository(); |
final _instanceRepository = new InstanceRepository(); |
-final _isolateRepository = new IsolateRepository(); |
final _isolateSampleProfileRepository = new IsolateSampleProfileRepository(); |
final _libraryRepository = new LibraryRepository(); |
final _megamorphicCacheRepository = new MegamorphicCacheRepository(); |
@@ -173,8 +172,8 @@ class VMPage extends MatchingPage { |
} |
app.vm.reload().then((VM vm) { |
container.children = [ |
- new VMViewElement(vm, app.events, app.notifications, _isolateRepository, |
- _scriptRepository, |
+ new VMViewElement(vm, app.events, app.notifications, |
+ new IsolateRepository(app.vm), _scriptRepository, |
queue: app.queue) |
]; |
}).catchError((e, stack) { |
@@ -349,7 +348,7 @@ class InspectPage extends MatchingPage { |
obj, |
app.events, |
app.notifications, |
- _isolateRepository, |
+ new IsolateRepository(app.vm), |
_scriptRepository, |
_functionRepository, |
_libraryRepository, |