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

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

Issue 532063002: Teach the Observatory about Contexts. Factor out object graph information from the instance view. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 4fe18be3338ec6987573f505d919e3bcfd79afd2..53383c0f165c552bbd26ff9aebfca5b18ab5e91f 100644
--- a/runtime/bin/vmservice/observatory/lib/src/elements/service_ref.dart
+++ b/runtime/bin/vmservice/observatory/lib/src/elements/service_ref.dart
@@ -74,6 +74,10 @@ class AnyServiceRefElement extends ObservatoryElement {
ServiceRefElement element = new Element.tag('code-ref');
element.ref = ref;
return element;
+ case 'Context':
+ ServiceRefElement element = new Element.tag('context-ref');
Cutch 2014/09/03 22:06:49 Why not "var element" here and elsewhere?
rmacnak 2014/09/03 22:44:06 Fast failure when custom element isn't registered.
+ element.ref = ref;
+ return element;
case 'Error':
ServiceRefElement element = new Element.tag('error-ref');
element.ref = ref;

Powered by Google App Engine
This is Rietveld 408576698