| 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 3b132839cb8438cf0b55ab91664510d3e4ec948a..a6179bcb81027eeb489408d232c61d2d3e915a72 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);
|
| }
|
|
|
|
|