| Index: chrome/browser/extensions/extension_commands_global_registry.cc
|
| diff --git a/chrome/browser/extensions/extension_commands_global_registry.cc b/chrome/browser/extensions/extension_commands_global_registry.cc
|
| index a6016dd796734a3f33b444b58047ffb00e2979b5..1982addbe9c5be19b611a1cb0a0d9b452a797cab 100644
|
| --- a/chrome/browser/extensions/extension_commands_global_registry.cc
|
| +++ b/chrome/browser/extensions/extension_commands_global_registry.cc
|
| @@ -16,8 +16,7 @@
|
| : ExtensionKeybindingRegistry(context,
|
| ExtensionKeybindingRegistry::ALL_EXTENSIONS,
|
| NULL),
|
| - browser_context_(context),
|
| - registry_for_active_window_(NULL) {
|
| + browser_context_(context) {
|
| Init();
|
| }
|
|
|
| @@ -57,13 +56,6 @@
|
| bool suspended) {
|
| GlobalShortcutListener::GetInstance()->SetShortcutHandlingSuspended(
|
| suspended);
|
| -}
|
| -
|
| -bool ExtensionCommandsGlobalRegistry::IsRegistered(
|
| - const ui::Accelerator& accelerator) {
|
| - return (registry_for_active_window() &&
|
| - registry_for_active_window()->IsAcceleratorRegistered(accelerator)) ||
|
| - IsAcceleratorRegistered(accelerator);
|
| }
|
|
|
| void ExtensionCommandsGlobalRegistry::AddExtensionKeybinding(
|
|
|