| Index: Source/devtools/front_end/sources/SourcesPanel.js
|
| diff --git a/Source/devtools/front_end/sources/SourcesPanel.js b/Source/devtools/front_end/sources/SourcesPanel.js
|
| index 657c5ae28b4c988e0fc653da92b4df135cd71fdc..9036c4d4318430ab1c161c1bb9f4c1d83bec75c3 100644
|
| --- a/Source/devtools/front_end/sources/SourcesPanel.js
|
| +++ b/Source/devtools/front_end/sources/SourcesPanel.js
|
| @@ -708,7 +708,7 @@ WebInspector.SourcesPanel.prototype = {
|
| /**
|
| * @param {string} buttonId
|
| * @param {string} buttonTitle
|
| - * @param {function(!Event=):boolean} handler
|
| + * @param {function(!Event=)} handler
|
| * @param {!Array.<!WebInspector.KeyboardShortcut.Descriptor>} shortcuts
|
| * @return {!WebInspector.StatusBarButton}
|
| */
|
| @@ -730,12 +730,9 @@ WebInspector.SourcesPanel.prototype = {
|
| */
|
| _createButtonAndRegisterShortcutsForAction: function(buttonId, buttonTitle, actionId)
|
| {
|
| - /**
|
| - * @return {boolean}
|
| - */
|
| function handler()
|
| {
|
| - return WebInspector.actionRegistry.execute(actionId);
|
| + WebInspector.actionRegistry.execute(actionId);
|
| }
|
| var shortcuts = WebInspector.shortcutRegistry.shortcutDescriptorsForAction(actionId);
|
| return this._createButtonAndRegisterShortcuts(buttonId, buttonTitle, handler, shortcuts);
|
|
|