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 a36ac1da0d1105d68cdcaf46f74d9c1bfa71ec9f..b96417e342b9ebe054cc620d803392b7fc1c034e 100644 |
--- a/Source/devtools/front_end/timeline/TracingTimelineModel.js |
+++ b/Source/devtools/front_end/timeline/TracingTimelineModel.js |
@@ -10,7 +10,7 @@ |
*/ |
WebInspector.TracingTimelineModel = function(tracingModel, recordFilter) |
{ |
- WebInspector.TimelineModel.call(this, tracingModel.target()); |
+ WebInspector.TimelineModel.call(this); |
this._tracingModel = tracingModel; |
this._inspectedTargetEvents = []; |
this._recordFilter = recordFilter; |
@@ -610,7 +610,8 @@ WebInspector.TracingTimelineModel.TraceEventRecord.prototype = { |
*/ |
target: function() |
{ |
- return this._model.target(); |
+ //FIXME: get it from this._event |
+ return WebInspector.targetManager.targets()[0]; |
}, |
/** |