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

Unified Diff: runtime/observatory/lib/src/elements/context_view.html

Issue 1166433008: 2nd attempt at adding streamListen/streamCancel to the service protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix context objects Created 5 years, 6 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
« no previous file with comments | « runtime/include/dart_api.h ('k') | runtime/observatory/lib/src/elements/service_ref.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/context_view.html
diff --git a/runtime/observatory/lib/src/elements/context_view.html b/runtime/observatory/lib/src/elements/context_view.html
index a0b56f5a7240f4fcd786ff5a137a68186f62ae8d..efffcb11ef8842433f94f60550bf53c85b115f90 100644
--- a/runtime/observatory/lib/src/elements/context_view.html
+++ b/runtime/observatory/lib/src/elements/context_view.html
@@ -31,12 +31,14 @@
<div class="memberList">
<div class="memberItem">&nbsp;</div>
- <div class="memberItem">
- <div class="memberName">parent context</div>
- <div class="memberValue">
- <any-service-ref ref="{{ context.parentContext }}"></any-service-ref>
+ <template if="{{ context.parentContext != null }}">
+ <div class="memberItem">
+ <div class="memberName">parent context</div>
+ <div class="memberValue">
+ <any-service-ref ref="{{ context.parentContext }}"></any-service-ref>
+ </div>
</div>
- </div>
+ </template>
</div>
</div>
@@ -52,7 +54,7 @@
<div class="memberName">[{{ index }}]</div>
<div class="memberValue">
<any-service-ref
- ref="{{ context.variables[index]{'value'] }}">
+ ref="{{ context.variables[index]['value'] }}">
</any-service-ref>
</div>
</div>
« no previous file with comments | « runtime/include/dart_api.h ('k') | runtime/observatory/lib/src/elements/service_ref.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698