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 f2ebee38b3f0d40f03ce25c609ffbaf76a048fab..68b3a602aef4c4d23beef6e0214e880f58e5f2db 100644 |
--- a/Source/devtools/front_end/timeline/TimelinePanel.js |
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js |
@@ -304,6 +304,7 @@ WebInspector.TimelinePanel.prototype = { |
this._panelToolbar = new WebInspector.Toolbar(this.element); |
this.toggleTimelineButton = new WebInspector.ToolbarButton("Record timeline", "record-toolbar-item"); |
+ this.toggleTimelineButton.setShortcut(WebInspector.ShortcutsScreen.TimelinePanelShortcuts.StartStopRecording); |
this.toggleTimelineButton.addEventListener("click", this._toggleTimelineButtonClicked, this); |
this._panelToolbar.appendToolbarItem(this.toggleTimelineButton); |
this._updateToggleTimelineButton(false); |