Index: Source/devtools/front_end/timeline/TimelinePanel.js |
diff --git a/Source/devtools/front_end/timeline/TimelinePanel.js b/Source/devtools/front_end/timeline/TimelinePanel.js |
index 7ccc512831c0f8a2a040db1e4be6581914a8e391..d25cff931ef3d66c9efb5254d6441a6eabc04be0 100644 |
--- a/Source/devtools/front_end/timeline/TimelinePanel.js |
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js |
@@ -84,7 +84,7 @@ WebInspector.TimelinePanel = function() |
this._model = this._tracingTimelineModel; |
} else { |
this._uiUtils = new WebInspector.TimelineUIUtilsImpl(); |
- this._model = new WebInspector.TimelineModelImpl(WebInspector.timelineManager); |
+ this._model = new WebInspector.TimelineModelImpl(); |
} |
this._model.addEventListener(WebInspector.TimelineModel.Events.RecordingStarted, this._onRecordingStarted, this); |
@@ -1039,7 +1039,7 @@ WebInspector.TimelinePanel.prototype = { |
break; |
} |
var title = this._uiUtils.titleForRecord(record); |
- this._uiUtils.generateDetailsContent(record, this._model, this._detailsLinkifier, this.showInDetails.bind(this, title), this._model.loadedFromFile()); |
+ this._uiUtils.generateDetailsContent(record, this._model, this._detailsLinkifier, this.showInDetails.bind(this, title)); |
break; |
case WebInspector.TimelineSelection.Type.TraceEvent: |
var event = /** @type {!WebInspector.TracingModel.Event} */ (this._selection.object()); |