| Index: third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
|
| index c23205227c772024512127ecb709367fff3dc31f..d07746f7212e5dd96d727d6f111fd009c8e134f1 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
|
| @@ -590,7 +590,7 @@ WebInspector.TimelineModel.prototype = {
|
| {
|
| var rendererMainThreadName = WebInspector.TimelineModel.RendererMainThreadName;
|
| // FIXME: pick up the first renderer process for now.
|
| - var process = Object.values(tracingModel.sortedProcesses()).filter(function(p) { return p.threadByName(rendererMainThreadName); })[0];
|
| + var process = tracingModel.sortedProcesses().filter(function(p) { return p.threadByName(rendererMainThreadName); })[0];
|
| var thread = process && process.threadByName(rendererMainThreadName);
|
| if (!thread)
|
| return null;
|
|
|