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

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

Issue 2999933002: Revert "Add current rss and embedder name to Observatory" (Closed)
Patch Set: Created 3 years, 4 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 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) {
« no previous file with comments | « runtime/observatory/lib/repositories.dart ('k') | runtime/observatory/lib/src/elements/memory/dashboard.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698