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

Unified Diff: tracing/tracing/ui/analysis/memory_dump_heap_details_path_view.html

Issue 2373913003: [tracing] Navigate to parent node in heap dump UI upon pressing backspace (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Use Array.prototype.includes Created 4 years, 2 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 | « tracing/tracing/ui/analysis/memory_dump_heap_details_breakdown_view.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/analysis/memory_dump_heap_details_path_view.html
diff --git a/tracing/tracing/ui/analysis/memory_dump_heap_details_path_view.html b/tracing/tracing/ui/analysis/memory_dump_heap_details_path_view.html
index 17ff9be0b876528af1f1b854098089444ad9fc82..de5e473049bee94c0b13fed59ebb7dff312abefd 100644
--- a/tracing/tracing/ui/analysis/memory_dump_heap_details_path_view.html
+++ b/tracing/tracing/ui/analysis/memory_dump_heap_details_path_view.html
@@ -105,6 +105,11 @@ tr.exportTo('tr.ui.analysis', function() {
return;
}
+ if (this.$.table.tableRows.includes(this.selectedNode_)) {
+ this.$.table.selectedTableRow = this.selectedNode_;
+ return;
+ }
+
this.$.table.selectionMode = tr.ui.b.TableFormat.SelectionMode.ROW;
this.$.table.userCanModifySortOrder = false;
var rows = this.createRows_(this.selectedNode_);
« no previous file with comments | « tracing/tracing/ui/analysis/memory_dump_heap_details_breakdown_view.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698