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

Unified Diff: runtime/observatory/lib/src/elements/class_view.dart

Issue 1150103005: Provide a logical view of VM-internal maps in Observatory. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « runtime/lib/mirrors_impl.dart ('k') | runtime/observatory/lib/src/elements/instance_ref.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/class_view.dart
diff --git a/runtime/observatory/lib/src/elements/class_view.dart b/runtime/observatory/lib/src/elements/class_view.dart
index a7cdf07b6b633e2453646f96866f594fab0a4705..d839614fa7afbc647dcd35d11e46bfa45303ee46 100644
--- a/runtime/observatory/lib/src/elements/class_view.dart
+++ b/runtime/observatory/lib/src/elements/class_view.dart
@@ -45,7 +45,7 @@ class ClassViewElement extends ObservatoryElement {
}
void attached() {
- library.variables.forEach((variable) => variable.reload());
+ cls.fields.forEach((field) => field.reload());
}
Future refresh() {
@@ -54,7 +54,7 @@ class ClassViewElement extends ObservatoryElement {
mostRetained = null;
var loads = [];
loads.add(cls.reload());
- cls.variables.forEach((variable) => loads.add(variable.reload()));
+ cls.fields.forEach((field) => loads.add(field.reload()));
return Future.wait(loads);
}
« no previous file with comments | « runtime/lib/mirrors_impl.dart ('k') | runtime/observatory/lib/src/elements/instance_ref.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698