Index: tracing/tracing/model/helpers/android_model_helper.html |
diff --git a/tracing/tracing/model/helpers/android_model_helper.html b/tracing/tracing/model/helpers/android_model_helper.html |
index ab0e1b3b13faf3d7036291b7f2e7b718692de9a5..6eb9c4bae2cc3379eccc7b5e2594e474622a7617 100644 |
--- a/tracing/tracing/model/helpers/android_model_helper.html |
+++ b/tracing/tracing/model/helpers/android_model_helper.html |
@@ -37,12 +37,12 @@ tr.exportTo('tr.model.helpers', function() { |
}; |
function iterateImportantThreadSlices(thread, important, callback) { |
- if (!thread) |
- return; |
+ if (!thread) return; |
thread.sliceGroup.slices.forEach(function(slice) { |
- if (slice.title in important) |
+ if (slice.title in important) { |
callback(slice); |
+ } |
}); |
} |
@@ -64,8 +64,9 @@ tr.exportTo('tr.model.helpers', function() { |
model.getAllProcesses().forEach(function(process) { |
var app = AndroidApp.createForProcessIfPossible( |
process, this.surfaceFlinger); |
- if (app) |
+ if (app) { |
this.apps.push(app); |
+ } |
}, this); |
} |