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); |
} |