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 b96417e342b9ebe054cc620d803392b7fc1c034e..36d5160a0673dedcc5a358b86ca87b6512626e12 100644 |
--- a/Source/devtools/front_end/timeline/TracingTimelineModel.js |
+++ b/Source/devtools/front_end/timeline/TracingTimelineModel.js |
@@ -606,12 +606,11 @@ WebInspector.TracingTimelineModel.TraceEventRecord.prototype = { |
}, |
/** |
- * @return {!WebInspector.Target} |
+ * @return {?WebInspector.Target} |
*/ |
target: function() |
{ |
- //FIXME: get it from this._event |
- return WebInspector.targetManager.targets()[0]; |
+ return this._event.thread.target(); |
}, |
/** |