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

Unified Diff: runtime/bin/vmservice/observatory/lib/src/elements/service_ref.dart

Issue 501583007: Treat null like the object it is in the Observatory and Service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: sync and build Created 6 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/bin/vmservice/observatory/lib/src/elements/service_ref.dart
diff --git a/runtime/bin/vmservice/observatory/lib/src/elements/service_ref.dart b/runtime/bin/vmservice/observatory/lib/src/elements/service_ref.dart
index bda75071d00c1772632e54a51ef2d1ab90805c84..466799dfe8f68f53ee6171e8b9a6b7fa0aa7e217 100644
--- a/runtime/bin/vmservice/observatory/lib/src/elements/service_ref.dart
+++ b/runtime/bin/vmservice/observatory/lib/src/elements/service_ref.dart
@@ -86,17 +86,18 @@ class AnyServiceRefElement extends ObservatoryElement {
ServiceRefElement element = new Element.tag('library-ref');
element.ref = ref;
return element;
- case 'Type':
case 'Array':
+ case 'Bigint':
case 'Bool':
case 'Closure':
case 'Double':
case 'GrowableObjectArray':
case 'Instance':
- case 'Smi':
case 'Mint':
- case 'Bigint':
+ case 'Null':
+ case 'Smi':
case 'String':
+ case 'Type':
ServiceRefElement element = new Element.tag('instance-ref');
element.ref = ref;
return element;

Powered by Google App Engine
This is Rietveld 408576698