Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js |
index 81484a65bd0b9c8b9338af1f57e7905cdc8598b3..4fcb9df7f88eb6120350069dcec2ae5e2448f565 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js |
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js |
@@ -67,7 +67,7 @@ Timeline.TimelinePanel = class extends UI.Panel { |
this._model = new TimelineModel.TimelineModel(Timeline.TimelineUIUtils.visibleEventsFilter()); |
this._frameModel = |
new TimelineModel.TimelineFrameModel(event => Timeline.TimelineUIUtils.eventStyle(event).category.name); |
- this._filmStripModel = new Components.FilmStripModel(this._tracingModel); |
+ this._filmStripModel = new SDK.FilmStripModel(this._tracingModel); |
this._irModel = new TimelineModel.TimelineIRModel(); |
/** @type {!Array<!{title: string, model: !SDK.TracingModel}>} */ |
this._extensionTracingModels = []; |
@@ -93,8 +93,9 @@ Timeline.TimelinePanel = class extends UI.Panel { |
topPaneElement.id = 'timeline-overview-panel'; |
// Create top overview component. |
- this._overviewPane = new UI.TimelineOverviewPane('timeline'); |
- this._overviewPane.addEventListener(UI.TimelineOverviewPane.Events.WindowChanged, this._onWindowChanged.bind(this)); |
+ this._overviewPane = new Perf_UI.TimelineOverviewPane('timeline'); |
+ this._overviewPane.addEventListener( |
+ Perf_UI.TimelineOverviewPane.Events.WindowChanged, this._onWindowChanged.bind(this)); |
this._overviewPane.show(topPaneElement); |
this._statusPaneContainer = this._timelinePane.element.createChild('div', 'status-pane-container fill'); |
@@ -600,7 +601,7 @@ Timeline.TimelinePanel = class extends UI.Panel { |
} |
_reset() { |
- Components.LineLevelProfile.instance().reset(); |
+ Perf_UI.LineLevelProfile.instance().reset(); |
this._tracingModel.reset(); |
this._model.reset(); |
for (let extensionEntry of this._extensionTracingModels) |
@@ -723,7 +724,7 @@ Timeline.TimelinePanel = class extends UI.Panel { |
var groups = TimelineModel.TimelineModel.AsyncEventGroup; |
var asyncEventsByGroup = this._model.mainThreadAsyncEvents(); |
this._irModel.populate(asyncEventsByGroup.get(groups.input), asyncEventsByGroup.get(groups.animation)); |
- this._model.cpuProfiles().forEach(profile => Components.LineLevelProfile.instance().appendCPUProfile(profile)); |
+ this._model.cpuProfiles().forEach(profile => Perf_UI.LineLevelProfile.instance().appendCPUProfile(profile)); |
if (this._statusPane) |
this._statusPane.hide(); |
delete this._statusPane; |