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

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

Issue 1300853006: Functions are objects too! (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: update tests Created 5 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/observatory/lib/src/elements/object_common.html
diff --git a/runtime/observatory/lib/src/elements/object_common.html b/runtime/observatory/lib/src/elements/object_common.html
index c4ce6183215e536d668f9328c1f95318e8473ce1..7cad87a8fb22666edd0a5ab158dd8e3a4422a750 100644
--- a/runtime/observatory/lib/src/elements/object_common.html
+++ b/runtime/observatory/lib/src/elements/object_common.html
@@ -22,7 +22,7 @@
</div>
<div class="memberItem" title="Space for this object in memory">
- <div class="memberName">size</div>
+ <div class="memberName">shallow size</div>
<div class="memberValue">{{ object.size | formatSize }}</div>
</div>
@@ -50,12 +50,15 @@
</eval-link>
</template>
<template if="{{ path != null }}">
+ <template if="{{ path['length'] == 0 }}">
+ &lt;root&gt;
+ </template>
<template repeat="{{ element in path['elements'] }}">
<div class="memberItem">
<div class="memberName">[{{ element['index']}}]</div>
<div class="memberValue">
<template if="{{ element['parentField'] != null }}">
- from <field-ref ref="{{ element['parentField'] }}"></field-ref> of
+ from <any-service-ref ref="{{ element['parentField'] }}"></any-service-ref> of
</template>
<template if="{{ element['parentListIndex'] != null }}">
from [{{ element['parentListIndex'] }}] of
@@ -89,6 +92,9 @@
</eval-link>
</template>
<template if="{{ inboundReferences != null }}">
+ <template if="{{ inboundReferences['references'].length == 0 }}">
+ &lt;root&gt;
+ </template>
<template repeat="{{ reference in inboundReferences['references'] }}">
<inbound-reference ref="{{ reference }}"></inbound-reference>
</template>
« no previous file with comments | « runtime/observatory/lib/src/elements/library_view.html ('k') | runtime/observatory/lib/src/elements/script_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698