| Index: tracing/tracing/model/helpers/chrome_model_helper.html
|
| diff --git a/tracing/tracing/model/helpers/chrome_model_helper.html b/tracing/tracing/model/helpers/chrome_model_helper.html
|
| index e454392c3f71bdc7cb9852bb5599eea922f9994b..3c391fb7a29020c75c6a10a53ccd5c0e247039ca 100644
|
| --- a/tracing/tracing/model/helpers/chrome_model_helper.html
|
| +++ b/tracing/tracing/model/helpers/chrome_model_helper.html
|
| @@ -31,8 +31,7 @@ tr.exportTo('tr.model.helpers', function() {
|
| function findChromeGpuProcess(model) {
|
| var gpuProcesses = model.getAllProcesses(
|
| tr.model.helpers.ChromeGpuHelper.isGpuProcess);
|
| - if (gpuProcesses.length !== 1)
|
| - return undefined;
|
| + if (gpuProcesses.length !== 1) return undefined;
|
| return gpuProcesses[0];
|
| }
|
|
|
| @@ -69,10 +68,8 @@ tr.exportTo('tr.model.helpers', function() {
|
| ChromeModelHelper.guid = tr.b.GUID.allocateSimple();
|
|
|
| ChromeModelHelper.supportsModel = function(model) {
|
| - if (findChromeBrowserProcesses(model).length)
|
| - return true;
|
| - if (findChromeRenderProcesses(model).length)
|
| - return true;
|
| + if (findChromeBrowserProcesses(model).length) return true;
|
| + if (findChromeRenderProcesses(model).length) return true;
|
| return false;
|
| };
|
|
|
| @@ -92,8 +89,7 @@ tr.exportTo('tr.model.helpers', function() {
|
| // TODO: Make all users of ChromeModelHelper support multiple browsers and
|
| // remove this getter (see #2119).
|
| get browserProcess() {
|
| - if (this.browserHelper === undefined)
|
| - return undefined;
|
| + if (this.browserHelper === undefined) return undefined;
|
| return this.browserHelper.process;
|
| },
|
|
|
|
|