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

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

Issue 1090293003: Kill service_test.cc tests in favor of dart tests for the service protocol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix tests Created 5 years, 8 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 | « no previous file | runtime/observatory/lib/src/elements/heap_map.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/class_view.html
diff --git a/runtime/observatory/lib/src/elements/class_view.html b/runtime/observatory/lib/src/elements/class_view.html
index 3a3253cd96154c50d0eaa9321dff54db12ccfb4f..f0de05a16574610e04b2184e4be83be212c469fe 100644
--- a/runtime/observatory/lib/src/elements/class_view.html
+++ b/runtime/observatory/lib/src/elements/class_view.html
@@ -133,7 +133,7 @@
</div>
</curly-block><br><br>
</template>
-
+
<template if="{{ !cls.hasNoAllocations }}">
instances
<div class="memberItem">
@@ -153,12 +153,14 @@
</eval-link>
</template>
<template if="{{ instances != null }}">
- sample
- <any-service-ref ref="{{ instances['sample'] }}"></any-service-ref>
- <template if="{{ instances['totalCount'] > instances['sampleCount'] }}">
+ <template repeat="{{ sample in instances['samples'] }}">
+ <any-service-ref ref="{{ sample }}">
+ </any-service-ref><br>
+ </template>
+ <template if="{{ instances['totalCount'] > instances['samples'].length }}">
<eval-link callback="{{ reachable }}"
label="[more]"
- expr="{{ instances['sampleCount'] * 2 }}">
+ expr="{{ instances['samples'].length * 2 }}">
</eval-link>
</template>
of total {{ instances['totalCount'] }}
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/heap_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698