Index: tracing/tracing/model/kernel.html |
diff --git a/tracing/tracing/model/kernel.html b/tracing/tracing/model/kernel.html |
index 58df303201cf00f409a69a790ecb8f191458fcae..b04658146d94864b090ce67cf8600a2ff619cb7f 100644 |
--- a/tracing/tracing/model/kernel.html |
+++ b/tracing/tracing/model/kernel.html |
@@ -61,8 +61,9 @@ tr.exportTo('tr.model', function() { |
* it does not exist. |
*/ |
getOrCreateCpu: function(cpuNumber) { |
- if (!this.cpus[cpuNumber]) |
+ if (!this.cpus[cpuNumber]) { |
this.cpus[cpuNumber] = new Cpu(this, cpuNumber); |
+ } |
return this.cpus[cpuNumber]; |
}, |
@@ -89,8 +90,9 @@ tr.exportTo('tr.model', function() { |
*/ |
get bestGuessAtCpuCount() { |
var realCpuCount = tr.b.dictionaryLength(this.cpus); |
- if (realCpuCount !== 0) |
+ if (realCpuCount !== 0) { |
return realCpuCount; |
+ } |
return this.softwareMeasuredCpuCount; |
}, |
@@ -113,8 +115,9 @@ tr.exportTo('tr.model', function() { |
addCategoriesToDict: function(categoriesDict) { |
ProcessBase.prototype.addCategoriesToDict.call(this, categoriesDict); |
- for (var cpuNumber in this.cpus) |
+ for (var cpuNumber in this.cpus) { |
this.cpus[cpuNumber].addCategoriesToDict(categoriesDict); |
+ } |
}, |
getSettingsKey: function() { |