Index: third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js |
index a6c12bf2ea85e768fabd815343ad49e06a74c3ac..1bf91155786be56ca5e52e3fb849b73613483ac8 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js |
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js |
@@ -74,13 +74,6 @@ Profiler.ProfileType = class extends Common.Object { |
return null; |
} |
- /** |
- * @return {!Array.<!UI.ToolbarItem>} |
- */ |
- toolbarItems() { |
- return []; |
- } |
- |
get buttonTooltip() { |
return ''; |
} |
@@ -431,7 +424,6 @@ Profiler.ProfilesPanel = class extends UI.PanelWithSidebar { |
toolbar.appendSeparator(); |
toolbar.appendToolbarItem(UI.Toolbar.createActionButtonForId('components.collect-garbage')); |
- this._profileTypeToolbar = new UI.Toolbar('', this._toolbarElement); |
this._profileViewToolbar = new UI.Toolbar('', this._toolbarElement); |
this._profileGroups = {}; |
@@ -587,10 +579,6 @@ Profiler.ProfilesPanel = class extends UI.PanelWithSidebar { |
_updateProfileTypeSpecificUI() { |
this._updateToggleRecordAction(this._toggleRecordAction.toggled()); |
- this._profileTypeToolbar.removeToolbarItems(); |
- var toolbarItems = this._selectedProfileType.toolbarItems(); |
- for (var i = 0; i < toolbarItems.length; ++i) |
- this._profileTypeToolbar.appendToolbarItem(toolbarItems[i]); |
} |
_reset() { |