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

Unified Diff: runtime/observatory/lib/src/app/page.dart

Issue 2980733003: Introduced support for external services registration in the ServiceProtocol (Closed)
Patch Set: Address comments Created 3 years, 5 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
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,
« no previous file with comments | « runtime/observatory/lib/src/app/application.dart ('k') | runtime/observatory/lib/src/elements/css/shared.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698