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

Unified Diff: runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/class_view.html

Issue 509563004: Give instances their own model class; move DartErrors out of instance-ref into their own error-ref. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase and build Created 6 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/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/class_view.html
diff --git a/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/class_view.html b/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/class_view.html
index de1e0a458e1a9e0906956bf44d1f81c3b40dcec4..5b0386780c0a9adbd4b3d1d899b94551202fe880 100644
--- a/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/class_view.html
+++ b/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/class_view.html
@@ -92,8 +92,7 @@
</div>
<template if="{{ cls.error != null }}">
- <!-- TODO(turnidge): Don't use instance-ref for error display here -->
- <instance-ref ref="{{ cls.error }}"></instance-ref>
+ <error-ref ref="{{ cls.error }}"></error>
</template>
<hr>
@@ -110,7 +109,7 @@
</div>
<div class="memberValue">
<template if="{{ field['value'] != null }}">
- <instance-ref ref="{{ field['value'] }}"></instance-ref>
+ <any-service-ref ref="{{ field['value'] }}"></any-service-ref>
</template>
</div>
</div>
@@ -155,7 +154,7 @@
</template>
<template if="{{ instances != null }}">
sample
- <instance-ref ref="{{ instances['sample'] }}"></instance-ref>
+ <any-service-ref ref="{{ instances['sample'] }}"></any-service-ref>
<template if="{{ instances['totalCount'] > instances['sampleCount'] }}">
<eval-link callback="{{ reachable }}"
label="[more]"

Powered by Google App Engine
This is Rietveld 408576698