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

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: Fixed comment 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
« no previous file with comments | « no previous file | runtime/observatory/tests/service/get_retaining_path_rpc_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..299470c208db6aa89740dcf12e7305971830e8d1 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
@@ -73,6 +73,9 @@
<template if="{{ element['parentListIndex'] != null }}">
from [{{ element['parentListIndex'] }}] of
</template>
+ <template if="{{ element['parentMapKey'] != null }}">
+ from [<any-service-ref ref="{{ element['parentMapKey'] }}"></any-service-ref>] of
+ </template>
<template if="{{ element['_parentWordOffset'] != null }}">
from word[{{ element['_parentWordOffset'] }}] of
</template>
« no previous file with comments | « no previous file | runtime/observatory/tests/service/get_retaining_path_rpc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698