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

Unified Diff: tracing/tracing/value/ui/histogram_set_table.html

Issue 2745413003: Do not auto-open histograms in singular rows. (Closed)
Patch Set: . Created 3 years, 9 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 | tracing/tracing/value/ui/histogram_set_table_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/value/ui/histogram_set_table.html
diff --git a/tracing/tracing/value/ui/histogram_set_table.html b/tracing/tracing/value/ui/histogram_set_table.html
index 276b447a665583fde7d61a1e391fdab5d0b7e23b..86a990e9bb014860e12d54fd22f1d3be6cccf67b 100644
--- a/tracing/tracing/value/ui/histogram_set_table.html
+++ b/tracing/tracing/value/ui/histogram_set_table.html
@@ -577,12 +577,6 @@ tr.exportTo('tr.v.ui', function() {
}
this.checkNameColumnOverflow_();
- if (this.isDisplayed && this.rows_.length === 1) {
- for (let [displayLabel, cell] of this.rows_[0].cells) {
- cell.isHistogramOpen = true;
- }
- }
-
for (let row of this.rows_) {
row.displayStatistic = this.displayStatistic;
}
@@ -788,12 +782,6 @@ tr.exportTo('tr.v.ui', function() {
this.isDisplayed = true;
this.checkNameColumnOverflow_();
-
- if (this.rows_ && this.rows_.length === 1) {
- for (let [displayLabel, cell] of this.rows_[0].cells) {
- cell.isHistogramOpen = true;
- }
- }
},
get constrainNameColumnWidth() {
« no previous file with comments | « no previous file | tracing/tracing/value/ui/histogram_set_table_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698