Index: tracing/tracing/metrics/blink/gc_metric.html |
diff --git a/tracing/tracing/metrics/blink/gc_metric.html b/tracing/tracing/metrics/blink/gc_metric.html |
index 4b8731dff0c7b77b8cf05bc24648c243a4dc6794..a4e0cdd9a4aba6791fcf2799a0fe7f4b68c8d009 100644 |
--- a/tracing/tracing/metrics/blink/gc_metric.html |
+++ b/tracing/tracing/metrics/blink/gc_metric.html |
@@ -80,10 +80,11 @@ tr.exportTo('tr.metrics.blink', function() { |
function createPercentage(name, numerator, denominator) { |
var histogram = new tr.v.Histogram(name, percentage_biggerIsBetter); |
- if (denominator === 0) |
+ if (denominator === 0) { |
histogram.addSample(0); |
- else |
+ } else { |
histogram.addSample(numerator / denominator); |
+ } |
return histogram; |
} |