Index: tracing/tracing/metrics/system_health/long_tasks_metric.html |
diff --git a/tracing/tracing/metrics/system_health/long_tasks_metric.html b/tracing/tracing/metrics/system_health/long_tasks_metric.html |
index 0e156a95cac1f315e72419a7786c8310e2058492..c05ade81cff52164bd3af211d4349c8073c1d79f 100644 |
--- a/tracing/tracing/metrics/system_health/long_tasks_metric.html |
+++ b/tracing/tracing/metrics/system_health/long_tasks_metric.html |
@@ -33,11 +33,11 @@ tr.exportTo('tr.metrics.sh', function() { |
thread, opt_range, cb, opt_this) { |
thread.sliceGroup.topLevelSlices.forEach(function(slice) { |
if (opt_range && |
- !opt_range.intersectsExplicitRangeInclusive(slice.start, slice.end)) |
+ !opt_range.intersectsExplicitRangeInclusive(slice.start, slice.end)) { |
return; |
+ } |
- if (slice.duration < LONG_TASK_MS) |
- return; |
+ if (slice.duration < LONG_TASK_MS) return; |
cb.call(opt_this, slice); |
}); |
@@ -57,8 +57,8 @@ tr.exportTo('tr.metrics.sh', function() { |
if (modelHelper !== undefined) { |
tr.b.dictionaryValues(modelHelper.rendererHelpers).forEach( |
function(rendererHelper) { |
- if (!rendererHelper.mainThread) |
- return; |
+ if (!rendererHelper.mainThread) return; |
+ |
cb.call(opt_this, rendererHelper.mainThread); |
}); |
} |