| Index: tracing/tracing/model/helpers/chrome_gpu_helper.html
|
| diff --git a/tracing/tracing/model/helpers/chrome_gpu_helper.html b/tracing/tracing/model/helpers/chrome_gpu_helper.html
|
| index 641d96960c11b1bfa47d37dd2933d51781780acb..dd87103f662793267f8031170397bd130051a4e5 100644
|
| --- a/tracing/tracing/model/helpers/chrome_gpu_helper.html
|
| +++ b/tracing/tracing/model/helpers/chrome_gpu_helper.html
|
| @@ -16,8 +16,9 @@ tr.exportTo('tr.model.helpers', function() {
|
| function ChromeGpuHelper(modelHelper, process) {
|
| tr.model.helpers.ChromeProcessHelper.call(this, modelHelper, process);
|
| this.mainThread_ = process.findAtMostOneThreadNamed('CrGpuMain');
|
| - if (!process.name)
|
| + if (!process.name) {
|
| process.name = ChromeGpuHelper.PROCESS_NAME;
|
| + }
|
| }
|
|
|
| ChromeGpuHelper.PROCESS_NAME = 'GPU Process';
|
| @@ -25,8 +26,9 @@ tr.exportTo('tr.model.helpers', function() {
|
| ChromeGpuHelper.isGpuProcess = function(process) {
|
| // In some android builds the GPU thread is not in a separate process.
|
| if (process.findAtMostOneThreadNamed('CrBrowserMain') ||
|
| - process.findAtMostOneThreadNamed('CrRendererMain'))
|
| + process.findAtMostOneThreadNamed('CrRendererMain')) {
|
| return false;
|
| + }
|
| return process.findAtMostOneThreadNamed('CrGpuMain');
|
| };
|
|
|
|
|