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

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

Issue 2231313002: Avoid to list internal Arrays in _GetRetainingPath api (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Stop iterating at static fields and remove GrowableObjectList internal storage from the list Created 4 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 0235248ff5213e1e6dd15f159b896a008bd075dc..f028e84107ab73d184b312a0d120d7c5d59162a3 100644
--- a/runtime/observatory/lib/src/elements/object_common.html
+++ b/runtime/observatory/lib/src/elements/object_common.html
@@ -65,7 +65,7 @@
</template>
<template repeat="{{ element in path['elements'] }}">
<div class="memberItem">
- <div class="memberName">[{{ element['index']}}]</div>
+ <div class="memberName">[{{ path['elements'].indexOf(element) }}]</div>
<div class="memberValue">
<template if="{{ element['parentField'] != null }}">
from <any-service-ref ref="{{ element['parentField'] }}"></any-service-ref> of
« no previous file with comments | « no previous file | runtime/observatory/tests/service/get_retaining_path_rpc_test.dart » ('j') | runtime/vm/object_graph.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698