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

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 2212253002: Converted Observatory class-tree element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Removed tmp code Created 4 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/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index dadf631777f1efadaa2d00e4c34c556d39757625..afd924048b1a1113b1f0117d1d6e6b08f5a27408 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -2252,7 +2252,7 @@ class Allocations {
bool get empty => accumulated.empty && current.empty;
}
-class Class extends HeapObject implements M.ClassRef {
+class Class extends HeapObject implements M.Class {
@observable Library library;
@observable bool isAbstract;
@@ -2390,7 +2390,7 @@ class Class extends HeapObject implements M.ClassRef {
String toString() => 'Class($vmName)';
}
-class Instance extends HeapObject implements M.InstanceRef {
+class Instance extends HeapObject implements M.Instance {
@observable String kind;
@observable String valueAsString; // If primitive.
@observable bool valueAsStringIsTruncated;
@@ -2489,7 +2489,7 @@ class Instance extends HeapObject implements M.InstanceRef {
Instance._empty(ServiceObjectOwner owner) : super._empty(owner);
void _update(ObservableMap map, bool mapIsRef) {
- // Extract full properties.
+ // Extract full properties.1
_upgradeCollection(map, isolate);
super._update(map, mapIsRef);
@@ -2502,6 +2502,7 @@ class Instance extends HeapObject implements M.InstanceRef {
name = map['name'];
length = map['length'];
pattern = map['pattern'];
+ typeClass = map['typeClass'];
if (mapIsRef) {
return;
@@ -2554,7 +2555,6 @@ class Instance extends HeapObject implements M.InstanceRef {
typedElements = bytes.buffer.asFloat64x2List(); break;
}
}
- typeClass = map['typeClass'];
parameterizedClass = map['parameterizedClass'];
typeArguments = map['typeArguments'];
parameterIndex = map['parameterIndex'];
« no previous file with comments | « runtime/observatory/lib/src/repositories/instance.dart ('k') | runtime/observatory/observatory_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698