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

Unified Diff: tracing/tracing/ui/base/name_bar_chart.html

Issue 2771723003: [tracing] Move math utilities from base into their own subdirectory (attempt 2) (Closed)
Patch Set: rebase 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 | « tracing/tracing/ui/base/line_chart_test.html ('k') | tracing/tracing/ui/base/name_bar_chart_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/name_bar_chart.html
diff --git a/tracing/tracing/ui/base/name_bar_chart.html b/tracing/tracing/ui/base/name_bar_chart.html
index 6ed295bf4861f3aee932ecaa94b5172b0bbad0fc..3f93b0735925a41febff696460dd26fa2480d10f 100644
--- a/tracing/tracing/ui/base/name_bar_chart.html
+++ b/tracing/tracing/ui/base/name_bar_chart.html
@@ -35,7 +35,7 @@ tr.exportTo('tr.ui.b', function() {
get yAxisWidth() {
if (this.data.length === 0) return 0;
- return Y_AXIS_PADDING + tr.b.Statistics.max(
+ return Y_AXIS_PADDING + tr.b.math.Statistics.max(
this.data_, d => tr.ui.b.getSVGTextSize(this, d.x).width);
},
« no previous file with comments | « tracing/tracing/ui/base/line_chart_test.html ('k') | tracing/tracing/ui/base/name_bar_chart_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698