Index: runtime/observatory/lib/src/elements/object_common.dart |
diff --git a/runtime/observatory/lib/src/elements/object_common.dart b/runtime/observatory/lib/src/elements/object_common.dart |
index 8a144763fd47e7144f753a2b57d99ab7bf87cfeb..6426032cf8869b0394dacb6aba118f8658bbf2b8 100644 |
--- a/runtime/observatory/lib/src/elements/object_common.dart |
+++ b/runtime/observatory/lib/src/elements/object_common.dart |
@@ -111,7 +111,7 @@ class ObjectCommonElement extends HtmlElement implements Renderable { |
new DivElement()..classes = const ['memberName'] |
..text = 'Shallow size ', |
new DivElement()..classes = const ['memberValue'] |
- ..text = Utils.formatSize(_object.size) |
+ ..text = Utils.formatSize(_object.size ?? 0) |
], |
new DivElement()..classes = const ['memberItem'] |
..title = 'Space reachable from this object, ' |