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

Unified Diff: runtime/bin/vmservice/observatory/lib/src/elements/service_view.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_view.dart
diff --git a/runtime/bin/vmservice/observatory/lib/src/elements/service_view.dart b/runtime/bin/vmservice/observatory/lib/src/elements/service_view.dart
index 0864e32e3a91408f79aaabf6c6bcf47d3a7bf6ee..15da1b8236497baff1389eae43a46640f9cef39c 100644
--- a/runtime/bin/vmservice/observatory/lib/src/elements/service_view.dart
+++ b/runtime/bin/vmservice/observatory/lib/src/elements/service_view.dart
@@ -76,7 +76,6 @@ class ServiceObjectViewElement extends ObservatoryElement {
case 'SendPort':
case 'Stacktrace':
case 'JSRegExp':
- case 'WeakProperty':
case 'UserTag':
// TODO(turnidge): The types above this comment are instance
// types and should be handled by the InstanceViewElement. We
@@ -95,6 +94,7 @@ class ServiceObjectViewElement extends ObservatoryElement {
case 'Null':
case 'Bigint':
case 'String':
+ case 'WeakProperty':
InstanceViewElement element = new Element.tag('instance-view');
element.instance = object;
return element;

Powered by Google App Engine
This is Rietveld 408576698