Index: Source/devtools/front_end/Main.js |
diff --git a/Source/devtools/front_end/Main.js b/Source/devtools/front_end/Main.js |
index 905b40a4feb01eadd2c95b79fc34d193ef223837..93ab2fb5f353e17ccaae615a1bdc499bf3a388b1 100644 |
--- a/Source/devtools/front_end/Main.js |
+++ b/Source/devtools/front_end/Main.js |
@@ -333,7 +333,8 @@ WebInspector.Main.prototype = { |
WebInspector.settings.initializeBackendSettings(); |
this._registerModules(); |
- WebInspector.KeyboardShortcut.registerActions(); |
+ WebInspector.actionRegistry = new WebInspector.ActionRegistry(); |
+ WebInspector.KeyboardShortcut.registerBindings(); |
WebInspector.panels = {}; |
WebInspector.inspectorView = new WebInspector.InspectorView(); |
@@ -673,10 +674,8 @@ WebInspector.Main.ReloadActionDelegate.prototype = { |
*/ |
handleAction: function() |
{ |
- if (!WebInspector.Dialog.currentInstance()) { |
- WebInspector.debuggerModel.skipAllPauses(true, true); |
- WebInspector.resourceTreeModel.reloadPage(false); |
- } |
+ WebInspector.debuggerModel.skipAllPauses(true, true); |
+ WebInspector.resourceTreeModel.reloadPage(false); |
return true; |
} |
} |
@@ -695,10 +694,8 @@ WebInspector.Main.HardReloadActionDelegate.prototype = { |
*/ |
handleAction: function() |
{ |
- if (!WebInspector.Dialog.currentInstance()) { |
- WebInspector.debuggerModel.skipAllPauses(true, true); |
- WebInspector.resourceTreeModel.reloadPage(true); |
- } |
+ WebInspector.debuggerModel.skipAllPauses(true, true); |
+ WebInspector.resourceTreeModel.reloadPage(true); |
return true; |
} |
} |