| Index: runtime/bin/vmservice/observatory/lib/src/elements/object_common.dart
|
| diff --git a/runtime/bin/vmservice/observatory/lib/src/elements/object_common.dart b/runtime/bin/vmservice/observatory/lib/src/elements/object_common.dart
|
| index b1814e4acca48805e6681d9db0d53bdb864ef009..6079530b3bdb7cf7a577ff4f2dfc94616b5944d5 100644
|
| --- a/runtime/bin/vmservice/observatory/lib/src/elements/object_common.dart
|
| +++ b/runtime/bin/vmservice/observatory/lib/src/elements/object_common.dart
|
| @@ -21,8 +21,8 @@ class ObjectCommonElement extends ObservatoryElement {
|
| // TODO(koda): Add no-arg "calculate-link" instead of reusing "eval-link".
|
| Future<ServiceObject> retainedSize(var dummy) {
|
| return object.isolate.get(object.id + "/retained")
|
| - .then((ServiceMap obj) {
|
| - retainedBytes = int.parse(obj['valueAsString']);
|
| + .then((Instance obj) {
|
| + retainedBytes = int.parse(obj.valueAsString);
|
| });
|
| }
|
|
|
|
|