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

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

Issue 536273002: Teach the Observatory about WeakProperties (ephemerons). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: build Created 6 years, 3 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 f21dde01f561b12637442a457cecc3e75782cc61..edb28c74cb78c161a2ba36dc4d408ba8d2ca930f 100644
--- a/runtime/bin/vmservice/observatory/lib/src/elements/service_ref.dart
+++ b/runtime/bin/vmservice/observatory/lib/src/elements/service_ref.dart
@@ -108,6 +108,7 @@ class AnyServiceRefElement extends ObservatoryElement {
case 'Smi':
case 'String':
case 'Type':
+ case 'WeakProperty':
ServiceRefElement element = new Element.tag('instance-ref');
element.ref = ref;
return element;

Powered by Google App Engine
This is Rietveld 408576698