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 faa7317bc5eeb86eb46b0103b074955738d6966b..5a5dd7b97560293f48485a073b7a1d943e977411 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js |
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js |
@@ -71,7 +71,7 @@ Timeline.TimelinePanel = class extends UI.Panel { |
/** @type {?Timeline.PerformanceModel} */ |
this._pendingPerformanceModel = null; |
- this._cpuThrottlingManager = new Components.CPUThrottlingManager(); |
+ this._cpuThrottlingManager = new MobileThrottling.CPUThrottlingManager(); |
this._viewModeSetting = |
Common.settings.createSetting('timelineViewMode', Timeline.TimelinePanel.ViewMode.FlameChart); |
@@ -260,7 +260,7 @@ Timeline.TimelinePanel = class extends UI.Panel { |
SDK.multitargetNetworkManager.addEventListener( |
SDK.MultitargetNetworkManager.Events.ConditionsChanged, this._updateShowSettingsToolbarButton, this); |
this._cpuThrottlingManager.addEventListener( |
- Components.CPUThrottlingManager.Events.RateChanged, this._updateShowSettingsToolbarButton, this); |
+ MobileThrottling.CPUThrottlingManager.Events.RateChanged, this._updateShowSettingsToolbarButton, this); |
this._disableCaptureJSProfileSetting.addChangeListener(this._updateShowSettingsToolbarButton, this); |
this._captureLayersAndPicturesSetting.addChangeListener(this._updateShowSettingsToolbarButton, this); |
@@ -324,7 +324,7 @@ Timeline.TimelinePanel = class extends UI.Panel { |
_createNetworkConditionsSelect() { |
var toolbarItem = new UI.ToolbarComboBox(null); |
toolbarItem.setMaxWidth(140); |
- NetworkConditions.NetworkConditionsSelector.decorateSelect(toolbarItem.selectElement()); |
+ MobileThrottling.NetworkConditionsSelector.decorateSelect(toolbarItem.selectElement()); |
return toolbarItem; |
} |