Index: Source/devtools/front_end/timeline/TracingTimelineModel.js |
diff --git a/Source/devtools/front_end/timeline/TracingTimelineModel.js b/Source/devtools/front_end/timeline/TracingTimelineModel.js |
index 7284b459a7adaebb9cbfb8240d6949d8ea35a66b..b374128526884ac551511a0a165495f432e07c1d 100644 |
--- a/Source/devtools/front_end/timeline/TracingTimelineModel.js |
+++ b/Source/devtools/front_end/timeline/TracingTimelineModel.js |
@@ -231,7 +231,7 @@ WebInspector.TracingTimelineModel.prototype = { |
var threads = process.sortedThreads(); |
for (var j = 0; j < threads.length; j++) { |
var thread = threads[j]; |
- if (thread.name() === "WebCore: Worker" && !workerMetadataEvents.some(function(e) { return e.thread === thread; })) |
+ if (thread.name() === "WebCore: Worker" && !workerMetadataEvents.some(function(e) { return e.args["data"]["workerThreadId"] === thread.id(); })) |
continue; |
this._processThreadEvents(startTime, endTime, event.thread, thread); |
} |