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

Unified Diff: tools/telemetry/support/html_output/results-template.html

Issue 217013004: Fix the incorrect Better/Worse labelling in the results page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/support/html_output/results-template.html
diff --git a/tools/telemetry/support/html_output/results-template.html b/tools/telemetry/support/html_output/results-template.html
index 2a14ce5937896c3dd9d69d5fb0b24dc3aac93099..f520bcb9a0223ae17965c2d17a17598ed2126652 100644
--- a/tools/telemetry/support/html_output/results-template.html
+++ b/tools/telemetry/support/html_output/results-template.html
@@ -331,7 +331,7 @@ function PerfTestMetric(name, metric, unit, isImportant) {
}
}
}
- return window.unitToBiggerIsBetter[unit];
+ return window.unitToBiggerIsBetter[this.unit()];
tonyg 2014/03/31 15:10:41 unit() calls computeScalingFactorIfNeeded(), which
Sébastien Marchand 2014/03/31 16:56:05 Changing the name of the var worked :), thanks.
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698