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 9ae18c5cd13ec4dc6c7cffd21d6f9efe728deea7..e99565d709e0b0fccc29a56cc68beff44f5d432b 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); |
}); |
} |