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

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

Issue 2526613002: Return short-hand object literals to exportTo. (Closed)
Patch Set: . Created 4 years, 1 month 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/hazard_metric.html
diff --git a/tracing/tracing/metrics/system_health/hazard_metric.html b/tracing/tracing/metrics/system_health/hazard_metric.html
index e8b6eeb2ba81ccfa693615e7ebdd9e0ab05bd405..42a5905bb95533713f99248581cd2720b503d955 100644
--- a/tracing/tracing/metrics/system_health/hazard_metric.html
+++ b/tracing/tracing/metrics/system_health/hazard_metric.html
@@ -132,11 +132,11 @@ tr.exportTo('tr.metrics.sh', function() {
tr.metrics.MetricRegistry.register(hazardMetric);
return {
- hazardMetric: hazardMetric,
+ hazardMetric,
computeHazardForLongTasksInRangeOnThread:
computeHazardForLongTasksInRangeOnThread,
- computeHazardForLongTasks: computeHazardForLongTasks,
- computeResponsivenessRisk: computeResponsivenessRisk
+ computeHazardForLongTasks,
+ computeResponsivenessRisk,
};
});
</script>

Powered by Google App Engine
This is Rietveld 408576698