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 08ff67151f025d211a62d9d39822a6d4a9700d57..4252a8cd5b80798e1337ceee2903d28d3ae47fd1 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 |
@@ -581,7 +581,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; |