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

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

Issue 2742163002: Generalize delta statistics in Histogram. (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
Index: tracing/tracing/value/ui/histogram_set_table_row.html
diff --git a/tracing/tracing/value/ui/histogram_set_table_row.html b/tracing/tracing/value/ui/histogram_set_table_row.html
index 696a96604bba0225ba7af43361c03660a0690e92..49b4b8cbd9ca09630eb7d0a0c30ead3edac96c0e 100644
--- a/tracing/tracing/value/ui/histogram_set_table_row.html
+++ b/tracing/tracing/value/ui/histogram_set_table_row.html
@@ -332,10 +332,12 @@ tr.exportTo('tr.v.ui', function() {
referenceCellB = other.columns.get(referenceDisplayLabel);
}
- let valueA = cellA.getStatisticScalar(
- this.displayStatistic, referenceCellA).value;
- let valueB = cellB.getStatisticScalar(
- this.displayStatistic, referenceCellB).value;
+ const statisticA = cellA.getAvailableStatisticName(
+ this.displayStatistic, referenceCellA);
+ const statisticB = cellB.getAvailableStatisticName(
+ this.displayStatistic, referenceCellB);
+ const valueA = cellA.getStatisticScalar(statisticA, referenceCellA).value;
+ const valueB = cellB.getStatisticScalar(statisticB, referenceCellB).value;
return valueA - valueB;
}
« no previous file with comments | « tracing/tracing/value/ui/histogram_set_table_cell.html ('k') | tracing/tracing/value/ui/histogram_set_table_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698