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

Unified Diff: tracing/tracing/metrics/system_health/scroll_power_metric_test.html

Issue 2334233003: Merge NumericValue into Histogram (Closed)
Patch Set: fix rail_power_metric Created 4 years, 3 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/metrics/system_health/scroll_power_metric_test.html
diff --git a/tracing/tracing/metrics/system_health/scroll_power_metric_test.html b/tracing/tracing/metrics/system_health/scroll_power_metric_test.html
index fd4b335813d4599f14779f70fae7ad1187bb2f99..b12c675499a60d127b29b0a8eb0a671a02c03a48 100644
--- a/tracing/tracing/metrics/system_health/scroll_power_metric_test.html
+++ b/tracing/tracing/metrics/system_health/scroll_power_metric_test.html
@@ -17,13 +17,13 @@ found in the LICENSE file.
function getMetricValueSum(values, name) {
for (var value of values)
if (value.name === name)
- return value.numeric.sum;
+ return value.sum;
}
function getMetricValueAvg(values, name) {
for (var value of values)
if (value.name === name)
- return value.numeric.average;
+ return value.average;
}
tr.b.unittest.testSuite(function() {

Powered by Google App Engine
This is Rietveld 408576698