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 89e40e0a2e22fe3adaf6a2d1cded0092c14b7144..ec543b158b2c25cfa5951998378a915ae516c6a4 100644 |
--- a/Source/devtools/front_end/sources/SourcesPanel.js |
+++ b/Source/devtools/front_end/sources/SourcesPanel.js |
@@ -706,7 +706,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} |
*/ |
@@ -728,12 +728,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); |