Index: tracing/tracing/ui/extras/system_stats/system_stats_snapshot_view.html |
diff --git a/tracing/tracing/ui/extras/system_stats/system_stats_snapshot_view.html b/tracing/tracing/ui/extras/system_stats/system_stats_snapshot_view.html |
index 7afcce6a75f3493b6285805daa8636152b49d76f..86e340a60540485f65f5fe8623468c859b933be9 100644 |
--- a/tracing/tracing/ui/extras/system_stats/system_stats_snapshot_view.html |
+++ b/tracing/tracing/ui/extras/system_stats/system_stats_snapshot_view.html |
@@ -61,10 +61,11 @@ tr.exportTo('tr.ui.e.system_stats', function() { |
if (stats[statName] instanceof Object) { |
Polymer.dom(statList).appendChild(this.buildList_(stats[statName])); |
} else { |
- if (this.isFloat(stats[statName])) |
+ if (this.isFloat(stats[statName])) { |
Polymer.dom(statText).textContent += stats[statName].toFixed(2); |
- else |
+ } else { |
Polymer.dom(statText).textContent += stats[statName]; |
+ } |
} |
} |