Index: tracing/tracing/metrics/v8/gc_metric.html |
diff --git a/tracing/tracing/metrics/v8/gc_metric.html b/tracing/tracing/metrics/v8/gc_metric.html |
index 2dcd8fe31537fda2388e37da84bb08b09e680f87..f45e47bb93dfe7cf83691f64103e3d723d2fea16 100644 |
--- a/tracing/tracing/metrics/v8/gc_metric.html |
+++ b/tracing/tracing/metrics/v8/gc_metric.html |
@@ -89,10 +89,11 @@ tr.exportTo('tr.metrics.v8', function() { |
function createPercentage(name, numerator, denominator, unit) { |
var hist = new tr.v.Histogram(name, unit); |
- if (denominator === 0) |
+ if (denominator === 0) { |
hist.addSample(0); |
- else |
+ } else { |
hist.addSample(numerator / denominator); |
+ } |
hist.customizeSummaryOptions({ |
avg: true, |
count: false, |